.class public Lcom/glympse/android/glympse/Glympse;
.super Lcom/google/android/maps/MapActivity;
.source "Glympse.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/glympse/android/glympse/Glympse$ActivityResult;,
        Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;,
        Lcom/glympse/android/glympse/Glympse$DlgLowBattery;,
        Lcom/glympse/android/glympse/Glympse$DlgNewVersion;,
        Lcom/glympse/android/glympse/Glympse$DlgSignInError;,
        Lcom/glympse/android/glympse/Glympse$EAnimations;,
        Lcom/glympse/android/glympse/Glympse$EViews;,
        Lcom/glympse/android/glympse/Glympse$GlympseView;,
        Lcom/glympse/android/glympse/Glympse$IGlympseView;,
        Lcom/glympse/android/glympse/Glympse$PromptForNicknameCallback;,
        Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;,
        Lcom/glympse/android/glympse/Glympse$ShowMenuJob;,
        Lcom/glympse/android/glympse/Glympse$ViewLevel;
    }
.end annotation


# static fields
.field private static synthetic $SWITCH_TABLE$com$glympse$android$glympse$Glympse$EAnimations:[I = null

.field private static synthetic $SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews:[I = null

.field public static final MENU_ACTIONS:I = 0x5

.field public static final MENU_BACK:I = 0xd

.field public static final MENU_DEBUG:I = 0xc

.field public static final MENU_EXIT:I = 0xe

.field public static final MENU_EXPAND:I = 0xb

.field public static final MENU_FAVORITES:I = 0x3

.field public static final MENU_HISTORY:I = 0x1

.field public static final MENU_LAST:I = 0xf

.field public static final MENU_ROAD_MAP:I = 0x6

.field public static final MENU_SATELLITE_MAP:I = 0x7

.field public static final MENU_SATELLITE_TOGGLE:I = 0x8

.field public static final MENU_SAVE:I = 0xa

.field public static final MENU_SEND_GLYMPSE:I = 0x2

.field public static final MENU_SETTINGS:I = 0x4

.field public static final MENU_TRAFFIC_TOGGLE:I = 0x9

.field public static final REQUEST_FACEBOOK_AUTHORIZE:I = 0x3

.field protected static final REQUEST_IMAGE_CAPTURE:I = 0x1

.field protected static final REQUEST_PICK_PHOTO:I = 0x2

.field private static final SUBVIEW_MAP:I = 0x0

.field private static final VIEW_DEBUG:I = 0x9

.field private static final VIEW_DESTINATION:I = 0x6

.field private static final VIEW_EULA:I = 0x0

.field private static final VIEW_FAVORITES:I = 0x4

.field private static final VIEW_FEEDBACK:I = 0x7

.field private static final VIEW_HELP:I = 0x8

.field private static final VIEW_HISTORY:I = 0x3

.field private static final VIEW_SEARCH:I = 0x5

.field private static final VIEW_SEND_GLYMPSE:I = 0x2

.field private static final VIEW_SPLASH:I = 0x1

.field private static final VIEW_USER:I = 0xa

.field private static ms_fHasQueriedDeviceConfig:Z

.field private static ms_fIsTablet:Z

.field public static ms_oThis:Lcom/glympse/android/glympse/Glympse;


# instance fields
.field private m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

.field public m_fActive:Z

.field public m_fExit:Z

.field private m_fStartingService:Z

.field public m_lFocusTicket:J

.field private m_listActivityResults:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList",
            "<",
            "Lcom/glympse/android/glympse/Glympse$ActivityResult;",
            ">;"
        }
    .end annotation
.end field

.field private m_listDialogs:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList",
            "<",
            "Landroid/app/Dialog;",
            ">;"
        }
    .end annotation
.end field

.field public m_listTimers:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/glympse/platform/common/GTimer;",
            ">;"
        }
    .end annotation
.end field

.field private m_listViewStack:Ljava/util/LinkedList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/LinkedList",
            "<",
            "Lcom/glympse/android/glympse/Glympse$ViewLevel;",
            ">;"
        }
    .end annotation
.end field

.field private m_oAnimatorMain:Landroid/widget/ViewAnimator;

.field private m_oAnimatorUser:Landroid/widget/ViewAnimator;

.field private m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

.field private m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

.field private m_oLinearMain:Landroid/widget/LinearLayout;

.field private m_oLinearUser:Landroid/widget/LinearLayout;

.field private m_oLocationManager:Landroid/location/LocationManager;

.field public m_oMapControl:Lcom/glympse/android/glympse/MapControl;

.field private m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

.field private m_oViewDebug:Lcom/glympse/android/glympse/ViewDebug;

.field public m_oViewDestination:Lcom/glympse/android/glympse/ViewDestination;

.field private m_oViewEula:Lcom/glympse/android/glympse/ViewEula;

.field public m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

.field private m_oViewFeedback:Lcom/glympse/android/glympse/ViewFeedback;

.field private m_oViewHelp:Lcom/glympse/android/glympse/ViewHelp;

.field public m_oViewHistory:Lcom/glympse/android/glympse/ViewHistory;

.field public m_oViewMap:Lcom/glympse/android/glympse/ViewMap;

.field public m_oViewSearch:Lcom/glympse/android/glympse/ViewSearch;

.field public m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

.field private m_oViewSplash:Lcom/glympse/android/glympse/ViewSplash;

.field public m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

.field private m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

.field private m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

.field private m_strTicketIntentSrc:Ljava/lang/String;


# direct methods
.method static synthetic $SWITCH_TABLE$com$glympse$android$glympse$Glympse$EAnimations()[I
    .locals 3

    .prologue
    .line 55
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EAnimations:[I

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Lcom/glympse/android/glympse/Glympse$EAnimations;->values()[Lcom/glympse/android/glympse/Glympse$EAnimations;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [I

    :try_start_0
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->Default:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x1

    aput v2, v0, v1
    :try_end_0
    .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_6

    :goto_1
    :try_start_1
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->FadeIn:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x7

    aput v2, v0, v1
    :try_end_1
    .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_5

    :goto_2
    :try_start_2
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->None:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x2

    aput v2, v0, v1
    :try_end_2
    .catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_4

    :goto_3
    :try_start_3
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideDown:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x6

    aput v2, v0, v1
    :try_end_3
    .catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3

    :goto_4
    :try_start_4
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideLeft:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x3

    aput v2, v0, v1
    :try_end_4
    .catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_2

    :goto_5
    :try_start_5
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideRight:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x4

    aput v2, v0, v1
    :try_end_5
    .catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_1

    :goto_6
    :try_start_6
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideUp:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    const/4 v2, 0x5

    aput v2, v0, v1
    :try_end_6
    .catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_0

    :goto_7
    sput-object v0, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EAnimations:[I

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_7

    :catch_1
    move-exception v1

    goto :goto_6

    :catch_2
    move-exception v1

    goto :goto_5

    :catch_3
    move-exception v1

    goto :goto_4

    :catch_4
    move-exception v1

    goto :goto_3

    :catch_5
    move-exception v1

    goto :goto_2

    :catch_6
    move-exception v1

    goto :goto_1
.end method

.method static synthetic $SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews()[I
    .locals 3

    .prologue
    .line 55
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews:[I

    if-eqz v0, :cond_0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {}, Lcom/glympse/android/glympse/Glympse$EViews;->values()[Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    array-length v0, v0

    new-array v0, v0, [I

    :try_start_0
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Debug:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/16 v2, 0xb

    aput v2, v0, v1
    :try_end_0
    .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_b

    :goto_1
    :try_start_1
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Destination:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/16 v2, 0x8

    aput v2, v0, v1
    :try_end_1
    .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_a

    :goto_2
    :try_start_2
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x2

    aput v2, v0, v1
    :try_end_2
    .catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_9

    :goto_3
    :try_start_3
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Favorites:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x6

    aput v2, v0, v1
    :try_end_3
    .catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_8

    :goto_4
    :try_start_4
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Feedback:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/16 v2, 0x9

    aput v2, v0, v1
    :try_end_4
    .catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_7

    :goto_5
    :try_start_5
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Help:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/16 v2, 0xa

    aput v2, v0, v1
    :try_end_5
    .catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_6

    :goto_6
    :try_start_6
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->History:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x5

    aput v2, v0, v1
    :try_end_6
    .catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_5

    :goto_7
    :try_start_7
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/16 v2, 0xc

    aput v2, v0, v1
    :try_end_7
    .catch Ljava/lang/NoSuchFieldError; {:try_start_7 .. :try_end_7} :catch_4

    :goto_8
    :try_start_8
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Search:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x7

    aput v2, v0, v1
    :try_end_8
    .catch Ljava/lang/NoSuchFieldError; {:try_start_8 .. :try_end_8} :catch_3

    :goto_9
    :try_start_9
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x4

    aput v2, v0, v1
    :try_end_9
    .catch Ljava/lang/NoSuchFieldError; {:try_start_9 .. :try_end_9} :catch_2

    :goto_a
    :try_start_a
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x3

    aput v2, v0, v1
    :try_end_a
    .catch Ljava/lang/NoSuchFieldError; {:try_start_a .. :try_end_a} :catch_1

    :goto_b
    :try_start_b
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    const/4 v2, 0x1

    aput v2, v0, v1
    :try_end_b
    .catch Ljava/lang/NoSuchFieldError; {:try_start_b .. :try_end_b} :catch_0

    :goto_c
    sput-object v0, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews:[I

    goto :goto_0

    :catch_0
    move-exception v1

    goto :goto_c

    :catch_1
    move-exception v1

    goto :goto_b

    :catch_2
    move-exception v1

    goto :goto_a

    :catch_3
    move-exception v1

    goto :goto_9

    :catch_4
    move-exception v1

    goto :goto_8

    :catch_5
    move-exception v1

    goto :goto_7

    :catch_6
    move-exception v1

    goto :goto_6

    :catch_7
    move-exception v1

    goto :goto_5

    :catch_8
    move-exception v1

    goto :goto_4

    :catch_9
    move-exception v1

    goto :goto_3

    :catch_a
    move-exception v1

    goto :goto_2

    :catch_b
    move-exception v1

    goto/16 :goto_1
.end method

.method static constructor <clinit>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 57
    const/4 v0, 0x0

    sput-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    .line 66
    sput-boolean v1, Lcom/glympse/android/glympse/Glympse;->ms_fHasQueriedDeviceConfig:Z

    .line 67
    sput-boolean v1, Lcom/glympse/android/glympse/Glympse;->ms_fIsTablet:Z

    .line 55
    return-void
.end method

.method public constructor <init>()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    const/4 v2, 0x0

    .line 161
    invoke-direct {p0}, Lcom/google/android/maps/MapActivity;-><init>()V

    .line 63
    iput-boolean v3, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    .line 64
    iput-boolean v3, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    .line 127
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listTimers:Ljava/util/ArrayList;

    .line 128
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    .line 129
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    .line 130
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listActivityResults:Ljava/util/LinkedList;

    .line 132
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    .line 133
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    .line 134
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    .line 135
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewEula:Lcom/glympse/android/glympse/ViewEula;

    .line 136
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSplash:Lcom/glympse/android/glympse/ViewSplash;

    .line 137
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    .line 138
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSearch:Lcom/glympse/android/glympse/ViewSearch;

    .line 139
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDestination:Lcom/glympse/android/glympse/ViewDestination;

    .line 140
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFeedback:Lcom/glympse/android/glympse/ViewFeedback;

    .line 141
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHelp:Lcom/glympse/android/glympse/ViewHelp;

    .line 142
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDebug:Lcom/glympse/android/glympse/ViewDebug;

    .line 143
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    .line 144
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    .line 145
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

    .line 146
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

    .line 147
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    .line 148
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewMap:Lcom/glympse/android/glympse/ViewMap;

    .line 149
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHistory:Lcom/glympse/android/glympse/ViewHistory;

    .line 150
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    .line 151
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    .line 152
    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    .line 153
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    .line 154
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_strTicketIntentSrc:Ljava/lang/String;

    .line 155
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

    .line 156
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    .line 157
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    .line 158
    iput-boolean v3, p0, Lcom/glympse/android/glympse/Glympse;->m_fStartingService:Z

    .line 163
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.Glympse - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 166
    sput-object p0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    .line 169
    invoke-static {p0}, Lcom/glympse/android/glympseservice/ErrorReporter;->Create(Landroid/content/Context;)V

    .line 170
    return-void
.end method

.method public static GetRecipientImage(Lcom/glympse/platform/common/Recipient;)I
    .locals 3
    .parameter "oRecipient"

    .prologue
    const v2, 0x7f020090

    const v1, 0x7f02008d

    .line 2175
    iget v0, p0, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    packed-switch v0, :pswitch_data_0

    .line 2192
    const v0, 0x7f02008e

    :goto_0
    return v0

    .line 2178
    :pswitch_0
    const v0, 0x7f02008c

    goto :goto_0

    .line 2181
    :pswitch_1
    iget-boolean v0, p0, Lcom/glympse/platform/common/Recipient;->m_fIsTwitterNumber:Z

    if-eqz v0, :cond_0

    move v0, v2

    goto :goto_0

    .line 2182
    :cond_0
    iget-boolean v0, p0, Lcom/glympse/platform/common/Recipient;->m_fIsFacebookNumber:Z

    if-eqz v0, :cond_1

    move v0, v1

    goto :goto_0

    .line 2183
    :cond_1
    const v0, 0x7f02008f

    goto :goto_0

    :pswitch_2
    move v0, v2

    .line 2186
    goto :goto_0

    :pswitch_3
    move v0, v1

    .line 2189
    goto :goto_0

    .line 2175
    nop

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public static IsTablet()Z
    .locals 1

    .prologue
    .line 1202
    invoke-static {}, Lcom/glympse/android/glympse/Glympse;->QueryDeviceConfig()V

    .line 1203
    sget-boolean v0, Lcom/glympse/android/glympse/Glympse;->ms_fIsTablet:Z

    return v0
.end method

.method private OnImageCaptureComplete(Landroid/content/Intent;)V
    .locals 6
    .parameter "oIntent"

    .prologue
    .line 2106
    if-eqz p1, :cond_0

    .line 2108
    const/4 v2, 0x0

    .line 2112
    .local v2, oByteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
    :try_start_0
    invoke-virtual {p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v3

    const-string v4, "data"

    invoke-virtual {v3, v4}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/graphics/Bitmap;

    .line 2115
    .local v1, oBitmap:Landroid/graphics/Bitmap;
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    new-instance v4, Lcom/glympse/platform/GImage;

    invoke-direct {v4, v1}, Lcom/glympse/platform/GImage;-><init>(Landroid/graphics/Bitmap;)V

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Lcom/glympse/platform/common/UserList;->UploadAvatar(Lcom/glympse/platform/GImage;I)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 2123
    if-eqz v2, :cond_0

    .line 2127
    :try_start_1
    invoke-virtual {v2}, Ljava/io/ByteArrayOutputStream;->close()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    .line 2136
    .end local v1           #oBitmap:Landroid/graphics/Bitmap;
    .end local v2           #oByteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
    :cond_0
    :goto_0
    return-void

    .line 2117
    .restart local v2       #oByteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
    :catch_0
    move-exception v3

    move-object v0, v3

    .line 2119
    .local v0, e:Ljava/lang/Exception;
    :try_start_2
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 2123
    if-eqz v2, :cond_0

    .line 2127
    :try_start_3
    invoke-virtual {v2}, Ljava/io/ByteArrayOutputStream;->close()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1

    goto :goto_0

    .line 2129
    :catch_1
    move-exception v0

    .line 2131
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0

    .line 2122
    .end local v0           #e:Ljava/lang/Exception;
    :catchall_0
    move-exception v3

    .line 2123
    if-eqz v2, :cond_1

    .line 2127
    :try_start_4
    invoke-virtual {v2}, Ljava/io/ByteArrayOutputStream;->close()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2

    .line 2134
    :cond_1
    :goto_1
    throw v3

    .line 2129
    :catch_2
    move-exception v0

    .line 2131
    .restart local v0       #e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_1

    .line 2129
    .end local v0           #e:Ljava/lang/Exception;
    .restart local v1       #oBitmap:Landroid/graphics/Bitmap;
    :catch_3
    move-exception v0

    .line 2131
    .restart local v0       #e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method private OnPickPhotoComplete(Landroid/content/Intent;)V
    .locals 10
    .parameter "oIntent"

    .prologue
    .line 2141
    if-eqz p1, :cond_0

    .line 2145
    :try_start_0
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {p1}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual/range {v0 .. v5}, Lcom/glympse/android/glympse/Glympse;->managedQuery(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v8

    .line 2146
    .local v8, oCursor:Landroid/database/Cursor;
    invoke-interface {v8}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2148
    const-string v0, "_data"

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v0

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    move-result-object v9

    .line 2151
    .local v9, strPath:Ljava/lang/String;
    const/4 v7, 0x0

    .line 2154
    .local v7, nRotation:I
    :try_start_1
    const-string v0, "orientation"

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v0

    invoke-interface {v8, v0}, Landroid/database/Cursor;->getInt(I)I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result v7

    .line 2162
    :goto_0
    :try_start_2
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    new-instance v1, Lcom/glympse/platform/GImage;

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-direct {v1, v9, v2, v3}, Lcom/glympse/platform/GImage;-><init>(Ljava/lang/String;ZZ)V

    invoke-virtual {v0, v1, v7}, Lcom/glympse/platform/common/UserList;->UploadAvatar(Lcom/glympse/platform/GImage;I)V

    .line 2170
    .end local v7           #nRotation:I
    .end local v8           #oCursor:Landroid/database/Cursor;
    .end local v9           #strPath:Ljava/lang/String;
    :cond_0
    :goto_1
    return-void

    .line 2156
    .restart local v7       #nRotation:I
    .restart local v8       #oCursor:Landroid/database/Cursor;
    .restart local v9       #strPath:Ljava/lang/String;
    :catch_0
    move-exception v0

    move-object v6, v0

    .line 2158
    .local v6, e:Ljava/lang/Exception;
    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_0

    .line 2165
    .end local v6           #e:Ljava/lang/Exception;
    .end local v7           #nRotation:I
    .end local v8           #oCursor:Landroid/database/Cursor;
    .end local v9           #strPath:Ljava/lang/String;
    :catch_1
    move-exception v0

    move-object v6, v0

    .line 2167
    .restart local v6       #e:Ljava/lang/Exception;
    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_1
.end method

.method private static QueryDeviceConfig()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 1209
    sget-boolean v1, Lcom/glympse/android/glympse/Glympse;->ms_fHasQueriedDeviceConfig:Z

    if-nez v1, :cond_0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-eqz v1, :cond_0

    .line 1212
    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    .line 1213
    .local v0, oConfiguration:Landroid/content/res/Configuration;
    if-eqz v0, :cond_0

    .line 1215
    sput-boolean v3, Lcom/glympse/android/glympse/Glympse;->ms_fHasQueriedDeviceConfig:Z

    .line 1217
    invoke-static {v0}, Lcom/glympse/platform/Reflection$_Configuration;->screenLayout(Landroid/content/res/Configuration;)I

    move-result v1

    and-int/lit8 v1, v1, 0xf

    const/4 v2, 0x4

    if-ne v1, v2, :cond_1

    const/4 v1, 0x1

    :goto_0
    sput-boolean v1, Lcom/glympse/android/glympse/Glympse;->ms_fIsTablet:Z

    .line 1220
    .end local v0           #oConfiguration:Landroid/content/res/Configuration;
    :cond_0
    return-void

    .restart local v0       #oConfiguration:Landroid/content/res/Configuration;
    :cond_1
    move v1, v3

    .line 1217
    goto :goto_0
.end method

.method private SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V
    .locals 3
    .parameter "oView"
    .parameter "eAnimation"

    .prologue
    const/4 v2, 0x0

    .line 1595
    invoke-static {}, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EAnimations()[I

    move-result-object v0

    invoke-virtual {p2}, Lcom/glympse/android/glympse/Glympse$EAnimations;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 1629
    :goto_0
    return-void

    .line 1598
    :pswitch_0
    invoke-virtual {p1, v2}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 1599
    invoke-virtual {p1, v2}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/view/animation/Animation;)V

    goto :goto_0

    .line 1603
    :pswitch_1
    const v0, 0x7f040005

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/content/Context;I)V

    .line 1604
    const v0, 0x7f04000a

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/content/Context;I)V

    goto :goto_0

    .line 1608
    :pswitch_2
    const v0, 0x7f040006

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/content/Context;I)V

    .line 1609
    const v0, 0x7f040009

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/content/Context;I)V

    goto :goto_0

    .line 1613
    :pswitch_3
    const v0, 0x7f040004

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/content/Context;I)V

    .line 1614
    invoke-virtual {p1, v2}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/view/animation/Animation;)V

    goto :goto_0

    .line 1619
    :pswitch_4
    invoke-virtual {p1, v2}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/view/animation/Animation;)V

    .line 1621
    const v0, 0x7f040008

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/content/Context;I)V

    goto :goto_0

    .line 1625
    :pswitch_5
    const/high16 v0, 0x10a

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setInAnimation(Landroid/content/Context;I)V

    .line 1626
    const v0, 0x10a0001

    invoke-virtual {p1, p0, v0}, Landroid/widget/ViewAnimator;->setOutAnimation(Landroid/content/Context;I)V

    goto :goto_0

    .line 1595
    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public static SetFocusDelayed(Landroid/view/View;Z)V
    .locals 2
    .parameter "oView"
    .parameter "fHideKeyboard"

    .prologue
    .line 2226
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;

    invoke-direct {v1, p0, p1}, Lcom/glympse/android/glympse/Glympse$SetFocusDelayedRunnable;-><init>(Landroid/view/View;Z)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThread(Lcom/glympse/platform/GRunnable;)Z

    .line 2227
    return-void
.end method

.method public static SetFocusEvenInTouchMode(Landroid/view/View;)V
    .locals 2
    .parameter "oView"

    .prologue
    .line 2205
    invoke-virtual {p0}, Landroid/view/View;->isFocusableInTouchMode()Z

    move-result v0

    .line 2208
    .local v0, fFocusableInTouchMode:Z
    if-nez v0, :cond_0

    .line 2210
    const/4 v1, 0x1

    invoke-virtual {p0, v1}, Landroid/view/View;->setFocusableInTouchMode(Z)V

    .line 2214
    :cond_0
    invoke-virtual {p0}, Landroid/view/View;->requestFocus()Z

    .line 2217
    if-nez v0, :cond_1

    .line 2219
    const/4 v1, 0x0

    invoke-virtual {p0, v1}, Landroid/view/View;->setFocusableInTouchMode(Z)V

    .line 2221
    :cond_1
    return-void
.end method

.method public static SetTextIfChanged(Landroid/widget/TextView;I)Z
    .locals 1
    .parameter "oTextView"
    .parameter "nRes"

    .prologue
    .line 1182
    invoke-virtual {p0}, Landroid/widget/TextView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/glympse/android/glympse/Glympse;->SetTextIfChanged(Landroid/widget/TextView;Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public static SetTextIfChanged(Landroid/widget/TextView;Ljava/lang/String;)Z
    .locals 1
    .parameter "oTextView"
    .parameter "strText"

    .prologue
    .line 1171
    if-eqz p0, :cond_0

    invoke-virtual {p0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 1173
    invoke-virtual {p0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 1174
    const/4 v0, 0x1

    .line 1176
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static SetVisibilityIfChanged(Landroid/view/View;I)Z
    .locals 1
    .parameter "oView"
    .parameter "nVis"

    .prologue
    .line 1188
    if-eqz p0, :cond_0

    .line 1190
    invoke-virtual {p0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eq p1, v0, :cond_0

    .line 1192
    invoke-virtual {p0, p1}, Landroid/view/View;->setVisibility(I)V

    .line 1193
    const/4 v0, 0x1

    .line 1196
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private ShowUserView(ILcom/glympse/android/glympse/Glympse$EAnimations;)V
    .locals 2
    .parameter "nSubView"
    .parameter "eAnimation"

    .prologue
    const/16 v1, 0xa

    .line 1634
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    if-ne v1, v0, :cond_0

    .line 1636
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v0, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1637
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-virtual {v0, p1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    .line 1652
    :goto_0
    return-void

    .line 1639
    :cond_0
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    if-ne p1, v0, :cond_1

    .line 1641
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v0, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1642
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_0

    .line 1646
    :cond_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v0, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1647
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-virtual {v0, p1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    .line 1649
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v0, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1650
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_0
.end method

.method static synthetic access$0(Lcom/glympse/android/glympse/Glympse;Lcom/glympse/android/glympse/Glympse$DlgLowBattery;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 156
    iput-object p1, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    return-void
.end method


# virtual methods
.method public ActivateTicket(J)Z
    .locals 6
    .parameter "lTicketId"

    .prologue
    .line 1040
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v2, v2, Lcom/glympse/platform/common/UserList;->m_listUsers:Lcom/glympse/platform/GVector$Users;

    invoke-virtual {v2}, Lcom/glympse/platform/GVector$Users;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_1

    .line 1059
    const/4 v2, 0x0

    :goto_0
    return v2

    .line 1040
    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/glympse/platform/common/User;

    .line 1043
    .local v1, oUser:Lcom/glympse/platform/common/User;
    iget-object v3, v1, Lcom/glympse/platform/common/User;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    invoke-virtual {v3}, Lcom/glympse/platform/GVector$Tickets;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_2
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/glympse/platform/common/Ticket;

    .line 1046
    .local v0, oTicket:Lcom/glympse/platform/common/Ticket;
    iget-wide v4, v0, Lcom/glympse/platform/common/Ticket;->m_lTicketId:J

    cmp-long v4, v4, p1

    if-nez v4, :cond_2

    .line 1049
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v2, v2, Lcom/glympse/platform/common/UserList;->m_oActiveUser:Lcom/glympse/platform/common/User;

    if-ne v1, v2, :cond_3

    .line 1051
    const/4 v2, 0x1

    goto :goto_0

    .line 1055
    :cond_3
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    invoke-virtual {v2, v1}, Lcom/glympse/platform/common/UserList;->ActivateUser(Lcom/glympse/platform/common/User;)Z

    move-result v2

    goto :goto_0
.end method

.method public AddTimer(Lcom/glympse/platform/common/GTimer;)V
    .locals 1
    .parameter "oTimer"

    .prologue
    .line 1657
    iget-boolean v0, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    if-eqz v0, :cond_0

    .line 1659
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Lcom/glympse/platform/common/GTimer;->Start(Z)V

    .line 1661
    :cond_0
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listTimers:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 1662
    return-void
.end method

.method public AnimateUserBar(Lcom/glympse/android/glympse/Glympse$EAnimations;)V
    .locals 2
    .parameter "eAni"

    .prologue
    .line 1153
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v0, p1}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1154
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 1166
    :goto_0
    return-void

    .line 1157
    :pswitch_0
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/ViewUserBar;->DoUpdate(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 1158
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_0

    .line 1162
    :pswitch_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/ViewUserBar;->DoUpdate(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 1163
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_0

    .line 1154
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public CheckForIntentGlympse(Landroid/content/Intent;)V
    .locals 8
    .parameter "oIntent"

    .prologue
    const/4 v7, 0x1

    const/4 v6, 0x0

    .line 954
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    if-nez v2, :cond_1

    .line 1034
    :cond_0
    :goto_0
    return-void

    .line 960
    :cond_1
    if-nez p1, :cond_2

    .line 962
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->getIntent()Landroid/content/Intent;

    move-result-object p1

    .line 967
    const/4 v2, 0x0

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/Glympse;->setIntent(Landroid/content/Intent;)V

    .line 970
    :cond_2
    if-eqz p1, :cond_0

    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v2

    const-string v3, "android.intent.action.VIEW"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 973
    invoke-virtual {p1}, Landroid/content/Intent;->getDataString()Ljava/lang/String;

    move-result-object v1

    .line 974
    .local v1, strUrl:Ljava/lang/String;
    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 977
    new-instance v0, Lcom/glympse/platform/common/UrlParser;

    invoke-direct {v0}, Lcom/glympse/platform/common/UrlParser;-><init>()V

    .line 978
    .local v0, oUrlParser:Lcom/glympse/platform/common/UrlParser;
    invoke-virtual {v0, v1, v6}, Lcom/glympse/platform/common/UrlParser;->ParseUrls(Ljava/lang/String;Z)Z

    .line 981
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "VIEW intent received: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 982
    const-string v3, ", tickets found: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    if-nez v3, :cond_4

    move v3, v6

    :goto_1
    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 983
    const-string v3, ", main ticket: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v2, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    if-nez v2, :cond_5

    const-string v2, ""

    :goto_2
    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 981
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 986
    iget-object v2, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    if-eqz v2, :cond_3

    .line 989
    iget-object v2, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    invoke-virtual {v2, v6}, Lcom/glympse/platform/GVector$Longs;->elementAt(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Long;

    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    iput-wide v2, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    .line 994
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v7, v2, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedMenuPopup:Z

    .line 996
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "Ticket received: "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-wide v3, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ", "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-wide v3, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    invoke-static {v3, v4}, Lcom/glympse/platform/common/Helpers;->LongToBase32(J)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 999
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oServerPost:Lcom/glympse/platform/common/ServerPost;

    iget-object v3, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    const-wide/16 v4, 0x0

    invoke-virtual {v2, v3, v4, v5}, Lcom/glympse/platform/common/ServerPost;->AddReceivedSmsTickets(Lcom/glympse/platform/GVector$Longs;J)Z

    .line 1000
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oServerPost:Lcom/glympse/platform/common/ServerPost;

    invoke-virtual {v2}, Lcom/glympse/platform/common/ServerPost;->PostNow()V

    .line 1004
    :cond_3
    invoke-virtual {v0}, Lcom/glympse/platform/common/UrlParser;->GetTicket()Lcom/glympse/platform/common/Ticket;

    move-result-object v2

    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    .line 1005
    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    if-eqz v2, :cond_6

    .line 1008
    invoke-virtual {v0}, Lcom/glympse/platform/common/UrlParser;->GetSource()Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_strTicketIntentSrc:Ljava/lang/String;

    .line 1013
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v7, v2, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedMenuPopup:Z

    .line 1016
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentSendGlympse()V

    goto/16 :goto_0

    .line 982
    :cond_4
    iget-object v3, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    invoke-virtual {v3}, Lcom/glympse/platform/GVector$Longs;->size()I

    move-result v3

    goto/16 :goto_1

    .line 983
    :cond_5
    iget-object v2, v0, Lcom/glympse/platform/common/UrlParser;->m_listTicketIds:Lcom/glympse/platform/GVector$Longs;

    invoke-virtual {v2, v6}, Lcom/glympse/platform/GVector$Longs;->elementAt(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Long;

    invoke-virtual {v2}, Ljava/lang/Long;->longValue()J

    move-result-wide v4

    invoke-static {v4, v5}, Lcom/glympse/platform/common/Helpers;->LongToBase32(J)Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_2

    .line 1020
    :cond_6
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    iget-object v3, v0, Lcom/glympse/platform/common/UrlParser;->m_eView:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v2, v3, :cond_0

    .line 1022
    iget-object v2, v0, Lcom/glympse/platform/common/UrlParser;->m_eView:Lcom/glympse/android/glympse/Glympse$EViews;

    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1027
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v7, v2, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedMenuPopup:Z

    .line 1030
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentSetView()V

    goto/16 :goto_0
.end method

.method public CheckForIntentSendGlympse()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    const/4 v4, 0x0

    .line 1065
    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    if-eqz v2, :cond_1

    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    if-eqz v2, :cond_1

    .line 1068
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    .line 1069
    .local v0, eView:Lcom/glympse/android/glympse/Glympse$EViews;
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v0, v2, :cond_1

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v0, v2, :cond_1

    .line 1074
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    .line 1075
    .local v1, oTicket:Lcom/glympse/platform/common/Ticket;
    iput-object v5, p0, Lcom/glympse/android/glympse/Glympse;->m_oTicketIntent:Lcom/glympse/platform/common/Ticket;

    .line 1078
    :goto_0
    if-eqz v0, :cond_0

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v2, v0, :cond_2

    .line 1084
    :cond_0
    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_strTicketIntentSrc:Ljava/lang/String;

    invoke-static {v3}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    const-string v3, "url"

    :goto_1
    invoke-virtual {v2, v1, v4, v4, v3}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetTicket(Lcom/glympse/platform/common/Ticket;ZZLjava/lang/String;)V

    .line 1085
    iput-object v5, p0, Lcom/glympse/android/glympse/Glympse;->m_strTicketIntentSrc:Ljava/lang/String;

    .line 1088
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->FadeIn:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v4, Lcom/glympse/android/glympse/Glympse$EAnimations;->FadeIn:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v2, v3, v4}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1091
    .end local v0           #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .end local v1           #oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_1
    return-void

    .line 1080
    .restart local v0       #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .restart local v1       #oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_2
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    goto :goto_0

    .line 1084
    :cond_3
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_strTicketIntentSrc:Ljava/lang/String;

    goto :goto_1
.end method

.method public CheckForIntentSetView()V
    .locals 4

    .prologue
    .line 1096
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v2, v3, :cond_1

    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    if-eqz v2, :cond_1

    .line 1099
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    .line 1100
    .local v0, eView:Lcom/glympse/android/glympse/Glympse$EViews;
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v0, v2, :cond_1

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v0, v2, :cond_1

    .line 1105
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1106
    .local v1, eViewNew:Lcom/glympse/android/glympse/Glympse$EViews;
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_eViewIntent:Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1109
    :goto_0
    if-eqz v0, :cond_0

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v2, v0, :cond_2

    .line 1115
    :cond_0
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v2, v1, :cond_1

    .line 1117
    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->FadeIn:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->FadeIn:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v1, v2, v3}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1121
    .end local v0           #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .end local v1           #eViewNew:Lcom/glympse/android/glympse/Glympse$EViews;
    :cond_1
    return-void

    .line 1111
    .restart local v0       #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .restart local v1       #eViewNew:Lcom/glympse/android/glympse/Glympse$EViews;
    :cond_2
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    goto :goto_0
.end method

.method public CreateDesktopShortcut(Lcom/glympse/platform/common/Ticket;Ljava/lang/String;)V
    .locals 7
    .parameter "oTicket"
    .parameter "strName"

    .prologue
    .line 1471
    :try_start_0
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 1474
    .local v2, oIntent:Landroid/content/Intent;
    :try_start_1
    sget-object v3, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v3}, Lcom/glympse/android/glympse/Glympse;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0200a0

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    .end local p0
    check-cast p0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {p0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v1

    .line 1475
    .local v1, oBitmap:Landroid/graphics/Bitmap;
    const-string v3, "android.intent.extra.shortcut.ICON"

    invoke-virtual {v2, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    .line 1481
    .end local v1           #oBitmap:Landroid/graphics/Bitmap;
    :goto_0
    :try_start_2
    const-string v3, "android.intent.extra.shortcut.INTENT"

    new-instance v4, Landroid/content/Intent;

    const-string v5, "android.intent.action.VIEW"

    const-string v6, "shortcut"

    invoke-virtual {p1, v6}, Lcom/glympse/platform/common/Ticket;->GetUrl(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v6

    invoke-direct {v4, v5, v6}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 1482
    const-string v3, "android.intent.extra.shortcut.NAME"

    invoke-virtual {v2, v3, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1483
    const-string v3, "com.android.launcher.action.INSTALL_SHORTCUT"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 1484
    sget-object v3, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v3, v2}, Lcom/glympse/android/glympse/Glympse;->sendBroadcast(Landroid/content/Intent;)V

    .line 1490
    .end local v2           #oIntent:Landroid/content/Intent;
    :goto_1
    return-void

    .line 1477
    .restart local v2       #oIntent:Landroid/content/Intent;
    :catch_0
    move-exception v3

    move-object v0, v3

    .line 1479
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_0

    .line 1486
    .end local v0           #e:Ljava/lang/Exception;
    .end local v2           #oIntent:Landroid/content/Intent;
    :catch_1
    move-exception v3

    move-object v0, v3

    .line 1488
    .restart local v0       #e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_1
.end method

.method public DoUpdate(I)V
    .locals 10
    .parameter "nUpdateFlags"

    .prologue
    const-wide/16 v8, 0x0

    const/4 v7, 0x1

    const/4 v6, 0x0

    const/4 v5, 0x0

    .line 1718
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    if-eqz v3, :cond_0

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    if-nez v3, :cond_1

    .line 1821
    :cond_0
    :goto_0
    return-void

    .line 1724
    :cond_1
    iget-wide v3, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    cmp-long v3, v8, v3

    if-eqz v3, :cond_2

    .line 1727
    iget-wide v3, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    invoke-virtual {p0, v3, v4}, Lcom/glympse/android/glympse/Glympse;->ActivateTicket(J)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 1730
    sget-object v3, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->PopViewsUpTo(Lcom/glympse/android/glympse/Glympse$EViews;)Z

    .line 1733
    iput-wide v8, p0, Lcom/glympse/android/glympse/Glympse;->m_lFocusTicket:J

    .line 1736
    const/high16 v3, 0x4000

    or-int/2addr p1, v3

    .line 1741
    :cond_2
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    .line 1744
    .local v0, eView:Lcom/glympse/android/glympse/Glympse$EViews;
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    invoke-virtual {v3}, Lcom/glympse/android/glympse/ViewTitleBar;->DoUpdate()V

    .line 1747
    const/16 v3, 0xa

    iget-object v4, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v4}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v4

    if-ne v3, v4, :cond_3

    .line 1749
    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->UpdateUserBar(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 1753
    :cond_3
    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;

    move-result-object v1

    .line 1754
    .local v1, oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    invoke-interface {v1, p1}, Lcom/glympse/android/glympse/Glympse$IGlympseView;->DoUpdate(I)V

    .line 1762
    and-int/lit16 v3, p1, 0x80

    if-eqz v3, :cond_4

    .line 1768
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iput-object v5, v3, Lcom/glympse/platform/Platform;->m_strSignInError:Ljava/lang/String;

    .line 1771
    new-instance v3, Lcom/glympse/android/glympse/Glympse$DlgNewVersion;

    invoke-direct {v3, p0, p0, v7}, Lcom/glympse/android/glympse/Glympse$DlgNewVersion;-><init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;Z)V

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->ForceDialog(Landroid/app/Dialog;)V

    goto :goto_0

    .line 1775
    :cond_4
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_strSignInError:Ljava/lang/String;

    if-eqz v3, :cond_6

    .line 1778
    sget-object v3, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v7, v3, Lcom/glympse/android/glympseservice/GlympseService;->m_fSignInError:Z

    .line 1779
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v2, v3, Lcom/glympse/platform/Platform;->m_strSignInError:Ljava/lang/String;

    .line 1780
    .local v2, strError:Ljava/lang/String;
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iput-object v5, v3, Lcom/glympse/platform/Platform;->m_strSignInError:Ljava/lang/String;

    .line 1782
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget v3, v3, Lcom/glympse/platform/Platform;->m_nSignInError:I

    if-nez v3, :cond_5

    .line 1784
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\n\nThis error can occur if you currently have no internet access, your Wi-Fi is connected to a hotspot that blocks internet access (Glympse does not require Wi-Fi, but will use it if it\'s enabled), or your phone carrier restricts what websites your phone can communicate with."

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 1792
    :goto_1
    new-instance v3, Lcom/glympse/android/glympse/Glympse$DlgSignInError;

    invoke-direct {v3, p0, p0, v2}, Lcom/glympse/android/glympse/Glympse$DlgSignInError;-><init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;Ljava/lang/String;)V

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->ForceDialog(Landroid/app/Dialog;)V

    goto/16 :goto_0

    .line 1788
    :cond_5
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\n\nError "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v4

    iget v4, v4, Lcom/glympse/platform/Platform;->m_nSignInError:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_1

    .line 1796
    .end local v2           #strError:Ljava/lang/String;
    :cond_6
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-boolean v3, v3, Lcom/glympse/platform/Platform;->m_fBatteryGood:Z

    if-nez v3, :cond_7

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-boolean v3, v3, Lcom/glympse/platform/Platform;->m_fBatteryForce:Z

    if-nez v3, :cond_7

    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    if-nez v3, :cond_7

    .line 1798
    new-instance v3, Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    invoke-direct {v3, p0, p0}, Lcom/glympse/android/glympse/Glympse$DlgLowBattery;-><init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;)V

    iput-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->ForceDialog(Landroid/app/Dialog;)V

    .line 1799
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    const-string v4, "low_battery"

    invoke-virtual {v3, v4}, Lcom/glympse/platform/Platform;->PlaySound(Ljava/lang/String;)V

    goto/16 :goto_0

    .line 1803
    :cond_7
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-boolean v3, v3, Lcom/glympse/platform/Platform;->m_fBatteryGood:Z

    if-eqz v3, :cond_8

    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    if-eqz v3, :cond_8

    .line 1805
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    iput-boolean v6, v3, Lcom/glympse/android/glympse/Glympse$DlgLowBattery;->m_fExitOnCancel:Z

    .line 1806
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    invoke-virtual {v3}, Lcom/glympse/android/glympse/Glympse$DlgLowBattery;->dismiss()V

    .line 1807
    iput-object v5, p0, Lcom/glympse/android/glympse/Glympse;->m_oDlgLowBattery:Lcom/glympse/android/glympse/Glympse$DlgLowBattery;

    goto/16 :goto_0

    .line 1812
    :cond_8
    and-int/lit8 v3, p1, 0x40

    if-eqz v3, :cond_0

    .line 1813
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v3, v3, Lcom/glympse/platform/Config;->m_nRunsTotal:I

    const/4 v4, 0x3

    if-le v3, v4, :cond_0

    .line 1816
    const-class v3, Lcom/glympse/android/glympse/Glympse$DlgNewVersion;

    invoke-virtual {v3}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 1818
    new-instance v3, Lcom/glympse/android/glympse/Glympse$DlgNewVersion;

    invoke-direct {v3, p0, p0, v6}, Lcom/glympse/android/glympse/Glympse$DlgNewVersion;-><init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;Z)V

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    goto/16 :goto_0
.end method

.method public EulaAccepted()V
    .locals 2

    .prologue
    .line 667
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v0}, Lcom/glympse/platform/Config;->AcceptedEula()V

    .line 668
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->None:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v0, v1}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    .line 669
    return-void
.end method

.method public FinishExit()V
    .locals 4

    .prologue
    .line 698
    const/4 v2, 0x0

    :try_start_0
    iput-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    .line 701
    iget-boolean v2, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    if-eqz v2, :cond_2

    .line 704
    invoke-static {}, Lcom/glympse/android/glympseservice/GlympseService;->SaveLocationProviderSetting()V

    .line 706
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    if-eqz v2, :cond_0

    .line 708
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-object v2, v2, Lcom/glympse/android/glympseservice/GlympseService;->m_oNotificationList:Lcom/glympse/android/glympseservice/NotificationList;

    invoke-virtual {v2}, Lcom/glympse/android/glympseservice/NotificationList;->RemoveAll()V

    .line 711
    :cond_0
    const-string v2, "calling stopService"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 712
    new-instance v2, Landroid/content/Intent;

    const-class v3, Lcom/glympse/android/glympseservice/GlympseService;

    invoke-direct {v2, p0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/Glympse;->stopService(Landroid/content/Intent;)Z

    move-result v1

    .line 713
    .local v1, fStopped:Z
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "stopService returned "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 718
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    if-eqz v2, :cond_1

    .line 720
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Lcom/glympse/platform/LocManager;->Stop(Z)V

    .line 723
    :cond_1
    const-string v2, "Calling Kill"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 724
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v2

    invoke-static {v2}, Landroid/os/Process;->killProcess(I)V

    .line 725
    const-string v2, "Kill called"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 730
    .end local v1           #fStopped:Z
    :cond_2
    sget-object v2, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-ne p0, v2, :cond_3

    .line 732
    const/4 v2, 0x0

    sput-object v2, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    .line 733
    const-string v2, "Cleared Glympse.ms_oThis"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 748
    :cond_3
    :goto_0
    return-void

    .line 736
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 738
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 743
    const-string v2, "Calling Kill"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 744
    invoke-static {}, Landroid/os/Process;->myPid()I

    move-result v2

    invoke-static {v2}, Landroid/os/Process;->killProcess(I)V

    .line 745
    const-string v2, "Kill called"

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public ForceDialog(Landroid/app/Dialog;)V
    .locals 1
    .parameter "oDialog"

    .prologue
    .line 1434
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->addFirst(Ljava/lang/Object;)V

    .line 1437
    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    .line 1438
    return-void
.end method

.method public GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;
    .locals 1

    .prologue
    .line 1227
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    if-eqz v0, :cond_0

    .line 1229
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 1249
    :cond_0
    :goto_0
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Unknown:Lcom/glympse/android/glympse/Glympse$EViews;

    :goto_1
    return-object v0

    .line 1231
    :pswitch_0
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1232
    :pswitch_1
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1233
    :pswitch_2
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1234
    :pswitch_3
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->History:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1235
    :pswitch_4
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Favorites:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1236
    :pswitch_5
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Search:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1237
    :pswitch_6
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Destination:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1238
    :pswitch_7
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Feedback:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1239
    :pswitch_8
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Help:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1240
    :pswitch_9
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Debug:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1242
    :pswitch_a
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    packed-switch v0, :pswitch_data_1

    goto :goto_0

    .line 1244
    :pswitch_b
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_1

    .line 1229
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
    .end packed-switch

    .line 1242
    :pswitch_data_1
    .packed-switch 0x0
        :pswitch_b
    .end packed-switch
.end method

.method public GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;
    .locals 2
    .parameter "eView"

    .prologue
    .line 1258
    if-eqz p1, :cond_0

    .line 1260
    invoke-static {}, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews()[I

    move-result-object v0

    invoke-virtual {p1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v1

    aget v0, v0, v1

    packed-switch v0, :pswitch_data_0

    .line 1275
    :cond_0
    const/4 v0, 0x0

    :goto_0
    return-object v0

    .line 1262
    :pswitch_0
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewEula:Lcom/glympse/android/glympse/ViewEula;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewEula;->m_oGlympseView:Lcom/glympse/android/glympse/ViewEula$MyGlympseView;

    goto :goto_0

    .line 1263
    :pswitch_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSplash:Lcom/glympse/android/glympse/ViewSplash;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewSplash;->m_oGlympseView:Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;

    goto :goto_0

    .line 1264
    :pswitch_2
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oGlympseView:Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;

    goto :goto_0

    .line 1265
    :pswitch_3
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSearch:Lcom/glympse/android/glympse/ViewSearch;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewSearch;->m_oGlympseView:Lcom/glympse/android/glympse/ViewSearch$MyGlympseView;

    goto :goto_0

    .line 1266
    :pswitch_4
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDestination:Lcom/glympse/android/glympse/ViewDestination;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDestination;->m_oGlympseView:Lcom/glympse/android/glympse/ViewDestination$MyGlympseView;

    goto :goto_0

    .line 1267
    :pswitch_5
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFeedback:Lcom/glympse/android/glympse/ViewFeedback;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewFeedback;->m_oGlympseView:Lcom/glympse/android/glympse/ViewFeedback$MyGlympseView;

    goto :goto_0

    .line 1268
    :pswitch_6
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHelp:Lcom/glympse/android/glympse/ViewHelp;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewHelp;->m_oGlympseView:Lcom/glympse/android/glympse/ViewHelp$MyGlympseView;

    goto :goto_0

    .line 1269
    :pswitch_7
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDebug:Lcom/glympse/android/glympse/ViewDebug;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewDebug;->m_oGlympseView:Lcom/glympse/android/glympse/ViewDebug$MyGlympseView;

    goto :goto_0

    .line 1270
    :pswitch_8
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewMap:Lcom/glympse/android/glympse/ViewMap;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewMap;->m_oGlympseView:Lcom/glympse/android/glympse/ViewMap$MyGlympseView;

    goto :goto_0

    .line 1271
    :pswitch_9
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHistory:Lcom/glympse/android/glympse/ViewHistory;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewHistory;->m_oGlympseView:Lcom/glympse/android/glympse/ViewHistory$MyGlympseView;

    goto :goto_0

    .line 1272
    :pswitch_a
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    iget-object v0, v0, Lcom/glympse/android/glympse/ViewFavorites;->m_oGlympseView:Lcom/glympse/android/glympse/ViewFavorites$MyGlympseView;

    goto :goto_0

    .line 1260
    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_9
        :pswitch_a
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
    .end packed-switch
.end method

.method public GetLocationText()I
    .locals 4

    .prologue
    const v3, 0x7f0a0021

    .line 1861
    const/4 v1, 0x1

    :try_start_0
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget v2, v2, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-eq v1, v2, :cond_0

    .line 1862
    const/4 v1, 0x2

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget v2, v2, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-ne v1, v2, :cond_1

    :cond_0
    move v1, v3

    .line 1886
    :goto_0
    return v1

    .line 1868
    :cond_1
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    if-nez v1, :cond_2

    .line 1870
    sget-object v1, Lcom/glympse/platform/Platform;->m_oContext:Landroid/content/Context;

    const-string v2, "location"

    invoke-virtual {v1, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/location/LocationManager;

    iput-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    .line 1874
    :cond_2
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    const-string v2, "gps"

    invoke-virtual {v1, v2}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    .line 1875
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    const-string v2, "network"

    invoke-virtual {v1, v2}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    if-eqz v1, :cond_4

    :cond_3
    move v1, v3

    .line 1877
    goto :goto_0

    .line 1880
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 1882
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 1886
    .end local v0           #e:Ljava/lang/Exception;
    :cond_4
    const v1, 0x7f0a0022

    goto :goto_0
.end method

.method public HideKeyboard()V
    .locals 4

    .prologue
    .line 1408
    :try_start_0
    const-string v2, "input_method"

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/Glympse;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/inputmethod/InputMethodManager;

    .line 1409
    .local v1, oInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
    const v2, 0x1020002

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/Glympse;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getWindowToken()Landroid/os/IBinder;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1415
    .end local v1           #oInputMethodManager:Landroid/view/inputmethod/InputMethodManager;
    :goto_0
    return-void

    .line 1411
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 1413
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public MessageBox(ZLjava/lang/String;IIIIILcom/glympse/android/glympse/DlgShell$DlgShellListener;)V
    .locals 9
    .parameter "fQueued"
    .parameter "strDlgName"
    .parameter "nTitleTextId"
    .parameter "nTitleImageId"
    .parameter "nMessageId"
    .parameter "nOkTextId"
    .parameter "nCancelTextId"
    .parameter "oDlgShellListener"

    .prologue
    .line 2319
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p5}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    move-object v0, p0

    move v1, p1

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v6, p6

    move/from16 v7, p7

    move-object/from16 v8, p8

    invoke-virtual/range {v0 .. v8}, Lcom/glympse/android/glympse/Glympse;->MessageBox(ZLjava/lang/String;IILjava/lang/String;IILcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 2320
    return-void
.end method

.method public MessageBox(ZLjava/lang/String;IILjava/lang/String;IILcom/glympse/android/glympse/DlgShell$DlgShellListener;)V
    .locals 2
    .parameter "fQueued"
    .parameter "strDlgName"
    .parameter "nTitleTextId"
    .parameter "nTitleImageId"
    .parameter "strMessage"
    .parameter "nOkTextId"
    .parameter "nCancelTextId"
    .parameter "oDlgShellListener"

    .prologue
    .line 2325
    invoke-static {p2}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 2370
    :goto_0
    return-void

    .line 2330
    :cond_0
    new-instance v0, Lcom/glympse/android/glympse/DlgPrompt;

    invoke-direct {v0, p0, p2}, Lcom/glympse/android/glympse/DlgPrompt;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 2332
    .local v0, oDlgPrompt:Lcom/glympse/android/glympse/DlgPrompt;
    if-lez p4, :cond_1

    .line 2334
    invoke-virtual {v0, p4}, Lcom/glympse/android/glympse/DlgPrompt;->SetTitleIcon(I)V

    .line 2337
    :cond_1
    if-lez p3, :cond_2

    .line 2339
    invoke-virtual {v0, p3}, Lcom/glympse/android/glympse/DlgPrompt;->SetTitleText(I)V

    .line 2342
    :cond_2
    invoke-static {p5}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    .line 2344
    invoke-virtual {v0, p5}, Lcom/glympse/android/glympse/DlgPrompt;->SetPrompt(Ljava/lang/String;)V

    .line 2347
    :cond_3
    if-eqz p8, :cond_4

    .line 2349
    invoke-virtual {v0, p8}, Lcom/glympse/android/glympse/DlgPrompt;->SetDlgShellListener(Lcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 2352
    :cond_4
    if-eqz p6, :cond_5

    .line 2354
    invoke-virtual {v0, p6}, Lcom/glympse/android/glympse/DlgPrompt;->SetOkText(I)V

    .line 2357
    :cond_5
    if-eqz p7, :cond_6

    .line 2359
    invoke-virtual {v0, p7}, Lcom/glympse/android/glympse/DlgPrompt;->SetCancelText(I)V

    .line 2362
    :cond_6
    if-eqz p1, :cond_7

    .line 2364
    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    goto :goto_0

    .line 2368
    :cond_7
    invoke-virtual {v0}, Lcom/glympse/android/glympse/DlgPrompt;->show()V

    goto :goto_0
.end method

.method public PerformLocationCheck()V
    .locals 5

    .prologue
    .line 1829
    :try_start_0
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    if-nez v3, :cond_0

    .line 1831
    sget-object v3, Lcom/glympse/platform/Platform;->m_oContext:Landroid/content/Context;

    const-string v4, "location"

    invoke-virtual {v3, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/location/LocationManager;

    iput-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    .line 1835
    :cond_0
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    const-string v4, "gps"

    invoke-virtual {v3, v4}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v1

    .line 1836
    .local v1, fGps:Z
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oLocationManager:Landroid/location/LocationManager;

    const-string v4, "network"

    invoke-virtual {v3, v4}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v2

    .line 1841
    .local v2, fNetwork:Z
    if-eqz v1, :cond_1

    if-nez v2, :cond_2

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    iget-object v3, v3, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget v3, v3, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    if-nez v3, :cond_2

    .line 1843
    :cond_1
    const-class v3, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;

    invoke-virtual {v3}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 1845
    new-instance v3, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;

    invoke-direct {v3, p0, p0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;-><init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;)V

    invoke-virtual {p0, v3}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1853
    .end local v1           #fGps:Z
    .end local v2           #fNetwork:Z
    :cond_2
    :goto_0
    return-void

    .line 1849
    :catch_0
    move-exception v3

    move-object v0, v3

    .line 1851
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public PopView()Lcom/glympse/android/glympse/Glympse$EViews;
    .locals 1

    .prologue
    .line 1541
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EAnimations;->Default:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->PopView(Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    return-object v0
.end method

.method public PopView(Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;
    .locals 3
    .parameter "eAni"

    .prologue
    .line 1548
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    invoke-virtual {v1}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_1

    .line 1550
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    invoke-virtual {v1}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/glympse/android/glympse/Glympse$ViewLevel;

    .line 1551
    .local v0, oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    iget-object v1, v0, Lcom/glympse/android/glympse/Glympse$ViewLevel;->m_eView:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->Default:Lcom/glympse/android/glympse/Glympse$EAnimations;

    if-ne v2, p1, :cond_0

    iget-object v2, v0, Lcom/glympse/android/glympse/Glympse$ViewLevel;->m_eAniPop:Lcom/glympse/android/glympse/Glympse$EAnimations;

    :goto_0
    invoke-virtual {p0, v1, v2}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1552
    iget-object v1, v0, Lcom/glympse/android/glympse/Glympse$ViewLevel;->m_eView:Lcom/glympse/android/glympse/Glympse$EViews;

    .line 1555
    .end local v0           #oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    :goto_1
    return-object v1

    .restart local v0       #oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    :cond_0
    move-object v2, p1

    .line 1551
    goto :goto_0

    .line 1555
    .end local v0           #oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    :cond_1
    const/4 v1, 0x0

    goto :goto_1
.end method

.method public PopViewsUpTo(Lcom/glympse/android/glympse/Glympse$EViews;)Z
    .locals 5
    .parameter "eView"

    .prologue
    const/4 v4, 0x1

    .line 1562
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v2

    if-ne v2, p1, :cond_0

    move v2, v4

    .line 1589
    :goto_0
    return v2

    .line 1568
    :cond_0
    const/4 v0, 0x0

    .line 1569
    .local v0, fFound:Z
    iget-object v2, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    invoke-virtual {v2}, Ljava/util/LinkedList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_2

    .line 1579
    :goto_1
    if-nez v0, :cond_3

    .line 1581
    const/4 v2, 0x0

    goto :goto_0

    .line 1569
    :cond_2
    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/glympse/android/glympse/Glympse$ViewLevel;

    .line 1571
    .local v1, oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    iget-object v3, v1, Lcom/glympse/android/glympse/Glympse$ViewLevel;->m_eView:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v3, p1, :cond_1

    .line 1573
    const/4 v0, 0x1

    .line 1574
    goto :goto_1

    .line 1585
    .end local v1           #oViewLevel:Lcom/glympse/android/glympse/Glympse$ViewLevel;
    :cond_3
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v2

    if-eq p1, v2, :cond_4

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v2

    if-nez v2, :cond_3

    :cond_4
    move v2, v4

    .line 1589
    goto :goto_0
.end method

.method public PromptForNickname(ZLcom/glympse/android/glympse/DlgShell$DlgShellListener;)V
    .locals 12
    .parameter "fQueue"
    .parameter "oDlgShellListener"

    .prologue
    .line 2375
    .line 2376
    const-string v1, "PromptForNickname"

    .line 2378
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    invoke-virtual {v0}, Lcom/glympse/platform/common/UserList;->GetSelf()Lcom/glympse/platform/common/User;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/common/User;->m_strDisplayName:Ljava/lang/String;

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2379
    const v0, 0x7f0a0077

    move v3, v0

    .line 2380
    :goto_0
    const v4, 0x7f020049

    .line 2381
    const v5, 0x7f0a0079

    .line 2382
    const v6, 0x7f0a005b

    .line 2383
    const v7, 0x7f0a0059

    .line 2384
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    invoke-virtual {v0}, Lcom/glympse/platform/common/UserList;->GetSelf()Lcom/glympse/platform/common/User;

    move-result-object v0

    iget-object v8, v0, Lcom/glympse/platform/common/User;->m_strDisplayName:Ljava/lang/String;

    .line 2385
    const/16 v9, 0xf

    .line 2386
    const/4 v10, 0x1

    .line 2387
    if-nez p2, :cond_1

    new-instance v0, Lcom/glympse/android/glympse/Glympse$PromptForNicknameCallback;

    invoke-direct {v0}, Lcom/glympse/android/glympse/Glympse$PromptForNicknameCallback;-><init>()V

    move-object v11, v0

    :goto_1
    move-object v0, p0

    move v2, p1

    .line 2375
    invoke-virtual/range {v0 .. v11}, Lcom/glympse/android/glympse/Glympse;->PromptForString(Ljava/lang/String;ZIIIIILjava/lang/String;IZLcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 2388
    return-void

    .line 2379
    :cond_0
    const v0, 0x7f0a0078

    move v3, v0

    goto :goto_0

    :cond_1
    move-object v11, p2

    .line 2387
    goto :goto_1
.end method

.method public PromptForString(Ljava/lang/String;ZIIIIILjava/lang/String;IZLcom/glympse/android/glympse/DlgShell$DlgShellListener;)V
    .locals 14
    .parameter "strDlgName"
    .parameter "fQueued"
    .parameter "nTitleTextId"
    .parameter "nTitleImageId"
    .parameter "nPromptId"
    .parameter "nOkTextId"
    .parameter "nCancelTextId"
    .parameter "strDefault"
    .parameter "nMaxLen"
    .parameter "fCapitalizeSentences"
    .parameter "oDlgShellListener"

    .prologue
    .line 2266
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    move-object v0, v2

    move/from16 v1, p5

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v7

    move-object v2, p0

    move-object v3, p1

    move/from16 v4, p2

    move/from16 v5, p3

    move/from16 v6, p4

    move/from16 v8, p6

    move/from16 v9, p7

    move-object/from16 v10, p8

    move/from16 v11, p9

    move/from16 v12, p10

    move-object/from16 v13, p11

    invoke-virtual/range {v2 .. v13}, Lcom/glympse/android/glympse/Glympse;->PromptForString(Ljava/lang/String;ZIILjava/lang/String;IILjava/lang/String;IZLcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 2267
    return-void
.end method

.method public PromptForString(Ljava/lang/String;ZIILjava/lang/String;IILjava/lang/String;IZLcom/glympse/android/glympse/DlgShell$DlgShellListener;)V
    .locals 2
    .parameter "strDlgName"
    .parameter "fQueued"
    .parameter "nTitleTextId"
    .parameter "nTitleImageId"
    .parameter "strPrompt"
    .parameter "nOkTextId"
    .parameter "nCancelTextId"
    .parameter "strDefault"
    .parameter "nMaxLen"
    .parameter "fCapitalizeSentences"
    .parameter "oDlgShellListener"

    .prologue
    .line 2272
    invoke-static {p1}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 2314
    :goto_0
    return-void

    .line 2277
    :cond_0
    new-instance v0, Lcom/glympse/android/glympse/DlgPrompt;

    invoke-direct {v0, p0, p1}, Lcom/glympse/android/glympse/DlgPrompt;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 2278
    .local v0, oDlgPrompt:Lcom/glympse/android/glympse/DlgPrompt;
    invoke-virtual {v0, p4}, Lcom/glympse/android/glympse/DlgPrompt;->SetTitleIcon(I)V

    .line 2279
    invoke-virtual {v0, p3}, Lcom/glympse/android/glympse/DlgPrompt;->SetTitleText(I)V

    .line 2281
    if-eqz p5, :cond_1

    .line 2283
    invoke-virtual {v0, p5}, Lcom/glympse/android/glympse/DlgPrompt;->SetPrompt(Ljava/lang/String;)V

    .line 2286
    :cond_1
    if-eqz p8, :cond_2

    .line 2288
    invoke-virtual {v0, p8, p9, p10}, Lcom/glympse/android/glympse/DlgPrompt;->SetEditText(Ljava/lang/String;IZ)V

    .line 2291
    :cond_2
    if-eqz p11, :cond_3

    .line 2293
    invoke-virtual {v0, p11}, Lcom/glympse/android/glympse/DlgPrompt;->SetDlgShellListener(Lcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 2296
    :cond_3
    if-eqz p6, :cond_4

    .line 2298
    invoke-virtual {v0, p6}, Lcom/glympse/android/glympse/DlgPrompt;->SetOkText(I)V

    .line 2301
    :cond_4
    if-eqz p7, :cond_5

    .line 2303
    invoke-virtual {v0, p7}, Lcom/glympse/android/glympse/DlgPrompt;->SetCancelText(I)V

    .line 2306
    :cond_5
    if-eqz p2, :cond_6

    .line 2308
    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    goto :goto_0

    .line 2312
    :cond_6
    invoke-virtual {v0}, Lcom/glympse/android/glympse/DlgPrompt;->show()V

    goto :goto_0
.end method

.method public PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;
    .locals 3
    .parameter "eView"
    .parameter "eAniPush"
    .parameter "eAniPop"

    .prologue
    .line 1527
    invoke-virtual {p0, p1, p2}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    .line 1530
    .local v0, eViewOld:Lcom/glympse/android/glympse/Glympse$EViews;
    if-eqz v0, :cond_0

    if-eq p1, v0, :cond_0

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v1, v0, :cond_0

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v1, p1, :cond_0

    .line 1532
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    new-instance v2, Lcom/glympse/android/glympse/Glympse$ViewLevel;

    invoke-direct {v2, p0, v0, p3}, Lcom/glympse/android/glympse/Glympse$ViewLevel;-><init>(Lcom/glympse/android/glympse/Glympse;Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    invoke-virtual {v1, v2}, Ljava/util/LinkedList;->addFirst(Ljava/lang/Object;)V

    .line 1535
    :cond_0
    return-object v0
.end method

.method public QueueDialog(Landroid/app/Dialog;)Z
    .locals 4
    .parameter "oDialog"

    .prologue
    const/4 v3, 0x1

    const/4 v2, 0x0

    .line 1420
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v1}, Ljava/util/LinkedList;->size()I

    move-result v1

    if-nez v1, :cond_0

    move v0, v3

    .line 1421
    .local v0, fShow:Z
    :goto_0
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v1, p1}, Ljava/util/LinkedList;->addLast(Ljava/lang/Object;)V

    .line 1422
    if-eqz v0, :cond_1

    .line 1424
    invoke-virtual {p1}, Landroid/app/Dialog;->show()V

    move v1, v3

    .line 1427
    :goto_1
    return v1

    .end local v0           #fShow:Z
    :cond_0
    move v0, v2

    .line 1420
    goto :goto_0

    .restart local v0       #fShow:Z
    :cond_1
    move v1, v2

    .line 1427
    goto :goto_1
.end method

.method public RemoveTimer(Lcom/glympse/platform/common/GTimer;)V
    .locals 1
    .parameter "oTimer"

    .prologue
    .line 1667
    invoke-virtual {p1}, Lcom/glympse/platform/common/GTimer;->Stop()V

    .line 1668
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listTimers:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    .line 1669
    return-void
.end method

.method public ServiceStarted()V
    .locals 12

    .prologue
    const/4 v11, 0x0

    .line 758
    iput-boolean v11, p0, Lcom/glympse/android/glympse/Glympse;->m_fStartingService:Z

    .line 762
    :try_start_0
    const-string v0, "Glympse::ServiceStarted"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 766
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    if-nez v0, :cond_0

    .line 768
    const-string v0, "Creating main UI"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 771
    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    .line 772
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setAnimationCacheEnabled(Z)V

    .line 773
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 776
    new-instance v0, Lcom/glympse/android/glympse/ViewTitleBar;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewTitleBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    .line 777
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 778
    const/4 v3, -0x1

    .line 779
    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 777
    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 782
    new-instance v0, Landroid/widget/ViewAnimator;

    invoke-direct {v0, p0}, Landroid/widget/ViewAnimator;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    .line 783
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setAnimationCacheEnabled(Z)V

    .line 784
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 785
    const/4 v3, -0x1

    .line 786
    const/4 v4, -0x1

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 784
    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 789
    new-instance v0, Lcom/glympse/android/glympse/ViewEula;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewEula;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewEula:Lcom/glympse/android/glympse/ViewEula;

    .line 790
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewEula:Lcom/glympse/android/glympse/ViewEula;

    const/4 v2, 0x0

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 791
    const/4 v4, -0x1

    .line 792
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 790
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 795
    new-instance v0, Lcom/glympse/android/glympse/ViewSplash;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewSplash;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSplash:Lcom/glympse/android/glympse/ViewSplash;

    .line 796
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSplash:Lcom/glympse/android/glympse/ViewSplash;

    const/4 v2, 0x1

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 797
    const/4 v4, -0x1

    .line 798
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 796
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 801
    new-instance v0, Lcom/glympse/android/glympse/ViewSendGlympse;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewSendGlympse;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    .line 802
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    const/4 v2, 0x2

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 803
    const/4 v4, -0x1

    .line 804
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 802
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 807
    new-instance v0, Lcom/glympse/android/glympse/ViewHistory;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewHistory;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHistory:Lcom/glympse/android/glympse/ViewHistory;

    .line 808
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHistory:Lcom/glympse/android/glympse/ViewHistory;

    const/4 v2, 0x3

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 809
    const/4 v4, -0x1

    .line 810
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 808
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 813
    new-instance v0, Lcom/glympse/android/glympse/ViewFavorites;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewFavorites;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    .line 814
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    const/4 v2, 0x4

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 815
    const/4 v4, -0x1

    .line 816
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 814
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 819
    new-instance v0, Lcom/glympse/android/glympse/ViewSearch;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewSearch;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSearch:Lcom/glympse/android/glympse/ViewSearch;

    .line 820
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSearch:Lcom/glympse/android/glympse/ViewSearch;

    const/4 v2, 0x5

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 821
    const/4 v4, -0x1

    .line 822
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 820
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 825
    new-instance v0, Lcom/glympse/android/glympse/ViewDestination;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewDestination;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDestination:Lcom/glympse/android/glympse/ViewDestination;

    .line 826
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDestination:Lcom/glympse/android/glympse/ViewDestination;

    const/4 v2, 0x6

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 827
    const/4 v4, -0x1

    .line 828
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 826
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 831
    new-instance v0, Lcom/glympse/android/glympse/ViewFeedback;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewFeedback;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFeedback:Lcom/glympse/android/glympse/ViewFeedback;

    .line 832
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFeedback:Lcom/glympse/android/glympse/ViewFeedback;

    const/4 v2, 0x7

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 833
    const/4 v4, -0x1

    .line 834
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 832
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 837
    new-instance v0, Lcom/glympse/android/glympse/ViewHelp;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewHelp;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHelp:Lcom/glympse/android/glympse/ViewHelp;

    .line 838
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewHelp:Lcom/glympse/android/glympse/ViewHelp;

    const/16 v2, 0x8

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 839
    const/4 v4, -0x1

    .line 840
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 838
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 843
    new-instance v0, Lcom/glympse/android/glympse/ViewDebug;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewDebug;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDebug:Lcom/glympse/android/glympse/ViewDebug;

    .line 844
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewDebug:Lcom/glympse/android/glympse/ViewDebug;

    const/16 v2, 0x9

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 845
    const/4 v4, -0x1

    .line 846
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 844
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 849
    new-instance v0, Landroid/widget/LinearLayout;

    invoke-direct {v0, p0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    .line 850
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setAnimationCacheEnabled(Z)V

    .line 851
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    .line 852
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    const/16 v2, 0xa

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 853
    const/4 v4, -0x1

    .line 854
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 852
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 857
    new-instance v0, Landroid/widget/ViewAnimator;

    invoke-direct {v0, p0}, Landroid/widget/ViewAnimator;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    .line 858
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setAnimationCacheEnabled(Z)V

    .line 859
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 860
    const/4 v3, -0x1

    .line 861
    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 859
    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 864
    new-instance v0, Lcom/glympse/android/glympse/ViewUserBar;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewUserBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

    .line 865
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 866
    const/4 v3, -0x1

    .line 867
    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 865
    invoke-virtual {v0, v1, v2}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 870
    new-instance v0, Lcom/glympse/android/glympse/ViewUserBar;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewUserBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

    .line 871
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 872
    const/4 v3, -0x1

    .line 873
    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 871
    invoke-virtual {v0, v1, v2}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 876
    new-instance v0, Landroid/widget/ViewAnimator;

    invoke-direct {v0, p0}, Landroid/widget/ViewAnimator;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    .line 877
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ViewAnimator;->setAnimationCacheEnabled(Z)V

    .line 878
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearUser:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    .line 879
    const/4 v3, -0x1

    .line 880
    const/4 v4, -0x1

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 878
    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 883
    new-instance v0, Lcom/glympse/android/glympse/ViewMap;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewMap;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewMap:Lcom/glympse/android/glympse/ViewMap;

    .line 884
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUser:Landroid/widget/ViewAnimator;

    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewMap:Lcom/glympse/android/glympse/ViewMap;

    const/4 v2, 0x0

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 885
    const/4 v4, -0x1

    .line 886
    const/4 v5, -0x1

    invoke-direct {v3, v4, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 884
    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/ViewAnimator;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    .line 889
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewTitleBar;->DoUpdate()V

    .line 892
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oLinearMain:Landroid/widget/LinearLayout;

    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x1

    invoke-direct {v1, v2, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0, v1}, Lcom/glympse/android/glympse/Glympse;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 895
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v0}, Lcom/glympse/platform/Config;->HasAcceptedEula()Z

    move-result v0

    if-nez v0, :cond_1

    .line 897
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->None:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v0, v1}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    .line 899
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v0, v0, Lcom/glympse/platform/Config;->m_nRunsTotal:I

    if-nez v0, :cond_0

    .line 901
    const/4 v1, 0x1

    const-string v2, "FirstRun"

    const v3, 0x7f0a004c

    .line 902
    const v4, 0x7f02003e

    const v5, 0x7f0a00ad

    .line 903
    const v6, 0x7f0a0058

    const/4 v7, 0x0

    const/4 v8, 0x0

    move-object v0, p0

    .line 901
    invoke-virtual/range {v0 .. v8}, Lcom/glympse/android/glympse/Glympse;->MessageBox(ZLjava/lang/String;IIIIILcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    .line 919
    :cond_0
    :goto_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentGlympse(Landroid/content/Intent;)V

    .line 922
    :goto_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listActivityResults:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->isEmpty()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    if-eqz v0, :cond_3

    .line 939
    :goto_2
    invoke-virtual {p0, v11}, Lcom/glympse/android/glympse/Glympse;->DoUpdate(I)V

    .line 940
    return-void

    .line 908
    :cond_1
    :try_start_1
    sget-object v0, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-boolean v0, v0, Lcom/glympse/android/glympseservice/GlympseService;->m_fSplashShown:Z

    if-eqz v0, :cond_2

    .line 910
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->None:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v0, v1}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 932
    :catch_0
    move-exception v0

    move-object v9, v0

    .line 934
    .local v9, e:Ljava/lang/Exception;
    invoke-static {v9}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_2

    .line 914
    .end local v9           #e:Ljava/lang/Exception;
    :cond_2
    :try_start_2
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v1, Lcom/glympse/android/glympse/Glympse$EAnimations;->None:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v0, v1}, Lcom/glympse/android/glympse/Glympse;->SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    goto :goto_0

    .line 925
    :cond_3
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listActivityResults:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->remove()Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/glympse/android/glympse/Glympse$ActivityResult;

    .line 928
    .local v10, oActivityResult:Lcom/glympse/android/glympse/Glympse$ActivityResult;
    const-string v0, "Handling delayed onActivityResult"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 929
    invoke-static {v10}, Lcom/glympse/android/glympse/Glympse$ActivityResult;->access$1(Lcom/glympse/android/glympse/Glympse$ActivityResult;)I

    move-result v0

    invoke-static {v10}, Lcom/glympse/android/glympse/Glympse$ActivityResult;->access$2(Lcom/glympse/android/glympse/Glympse$ActivityResult;)I

    move-result v1

    invoke-static {v10}, Lcom/glympse/android/glympse/Glympse$ActivityResult;->access$3(Lcom/glympse/android/glympse/Glympse$ActivityResult;)Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {p0, v0, v1, v2}, Lcom/glympse/android/glympse/Glympse;->onActivityResult(IILandroid/content/Intent;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_1
.end method

.method public SetActive(Z)V
    .locals 3
    .parameter "fActive"

    .prologue
    .line 1675
    iget-boolean v1, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    if-eq v1, p1, :cond_1

    .line 1678
    iput-boolean p1, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    .line 1681
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 1683
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    iget-boolean v2, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    invoke-virtual {v1, v2}, Lcom/glympse/platform/Platform;->SetActive(Z)V

    .line 1687
    :cond_0
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listTimers:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-nez v2, :cond_2

    .line 1700
    iget-boolean v1, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    if-eqz v1, :cond_1

    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    if-eqz v1, :cond_1

    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-object v1, v1, Lcom/glympse/android/glympseservice/GlympseService;->m_oGlympseListenerUI:Lcom/glympse/android/glympseservice/GlympseService$GlympseListenerUI;

    if-eqz v1, :cond_1

    .line 1702
    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-object v1, v1, Lcom/glympse/android/glympseservice/GlympseService;->m_oGlympseListenerUI:Lcom/glympse/android/glympseservice/GlympseService$GlympseListenerUI;

    const/high16 v2, 0x4000

    invoke-virtual {v1, v2}, Lcom/glympse/android/glympseservice/GlympseService$GlympseListenerUI;->DoUpdate(I)V

    .line 1705
    :cond_1
    return-void

    .line 1687
    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/glympse/platform/common/GTimer;

    .line 1689
    .local v0, oTimer:Lcom/glympse/platform/common/GTimer;
    iget-boolean v2, p0, Lcom/glympse/android/glympse/Glympse;->m_fActive:Z

    if-eqz v2, :cond_3

    .line 1691
    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Lcom/glympse/platform/common/GTimer;->Start(Z)V

    goto :goto_0

    .line 1695
    :cond_3
    invoke-virtual {v0}, Lcom/glympse/platform/common/GTimer;->Stop()V

    goto :goto_0
.end method

.method public SetView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;
    .locals 7
    .parameter "eView"
    .parameter "eAni"

    .prologue
    const/4 v6, 0x1

    const/4 v5, 0x0

    .line 1282
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v0

    .line 1287
    .local v0, eViewOld:Lcom/glympse/android/glympse/Glympse$EViews;
    if-ne v0, p1, :cond_0

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v0, v3, :cond_0

    move-object v3, p1

    .line 1400
    :goto_0
    return-object v3

    .line 1293
    :cond_0
    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;

    move-result-object v2

    .line 1294
    .local v2, oViewBefore:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    invoke-interface {v2, p1}, Lcom/glympse/android/glympse/Glympse$IGlympseView;->OnLoseFocus(Lcom/glympse/android/glympse/Glympse$EViews;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 1296
    const/4 v3, 0x0

    goto :goto_0

    .line 1300
    :cond_1
    invoke-virtual {p0, p1}, Lcom/glympse/android/glympse/Glympse;->GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;

    move-result-object v1

    .line 1301
    .local v1, oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    invoke-interface {v1, v0}, Lcom/glympse/android/glympse/Glympse$IGlympseView;->OnGainFocus(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 1303
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->HideKeyboard()V

    .line 1306
    sget-object v3, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-eq v3, p1, :cond_2

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v3, v0, :cond_3

    .line 1308
    :cond_2
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_listViewStack:Ljava/util/LinkedList;

    invoke-virtual {v3}, Ljava/util/LinkedList;->clear()V

    .line 1312
    :cond_3
    invoke-static {}, Lcom/glympse/android/glympse/Glympse;->$SWITCH_TABLE$com$glympse$android$glympse$Glympse$EViews()[I

    move-result-object v3

    invoke-virtual {p1}, Lcom/glympse/android/glympse/Glympse$EViews;->ordinal()I

    move-result v4

    aget v3, v3, v4

    packed-switch v3, :pswitch_data_0

    .line 1370
    :goto_1
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewTitleBar:Lcom/glympse/android/glympse/ViewTitleBar;

    invoke-virtual {v3}, Lcom/glympse/android/glympse/ViewTitleBar;->DoUpdate()V

    .line 1371
    invoke-virtual {p0, p1}, Lcom/glympse/android/glympse/Glympse;->UpdateUserBar(Lcom/glympse/android/glympse/Glympse$EViews;)V

    .line 1374
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    .line 1376
    sget-object v3, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v3, p1, :cond_6

    .line 1379
    sget-object v3, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-boolean v3, v3, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedMenuPopup:Z

    if-nez v3, :cond_4

    .line 1384
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v3

    new-instance v4, Lcom/glympse/android/glympse/Glympse$ShowMenuJob;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/Glympse$ShowMenuJob;-><init>(Lcom/glympse/android/glympse/Glympse;)V

    invoke-virtual {v3, v4}, Lcom/glympse/platform/Platform;->PostToMainThread(Lcom/glympse/platform/GRunnable;)Z

    .line 1388
    :cond_4
    sget-object v3, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iget-boolean v3, v3, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedLocationCheck:Z

    if-nez v3, :cond_5

    .line 1390
    sget-object v3, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v6, v3, Lcom/glympse/android/glympseservice/GlympseService;->m_fPerformedLocationCheck:Z

    .line 1391
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PerformLocationCheck()V

    .line 1396
    :cond_5
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentSendGlympse()V

    .line 1397
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentSetView()V

    :cond_6
    move-object v3, v0

    .line 1400
    goto :goto_0

    .line 1315
    :pswitch_0
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1316
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v3, v5}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1320
    :pswitch_1
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1321
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-virtual {v3, v6}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1325
    :pswitch_2
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1326
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x2

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1330
    :pswitch_3
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1331
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x3

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1335
    :pswitch_4
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1336
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x4

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1340
    :pswitch_5
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1341
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x5

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto :goto_1

    .line 1345
    :pswitch_6
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1346
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x6

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto/16 :goto_1

    .line 1350
    :pswitch_7
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1351
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/4 v4, 0x7

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto/16 :goto_1

    .line 1355
    :pswitch_8
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1356
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto/16 :goto_1

    .line 1360
    :pswitch_9
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    invoke-direct {p0, v3, p2}, Lcom/glympse/android/glympse/Glympse;->SetAnimation(Landroid/widget/ViewAnimator;Lcom/glympse/android/glympse/Glympse$EAnimations;)V

    .line 1361
    iget-object v3, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorMain:Landroid/widget/ViewAnimator;

    const/16 v4, 0x9

    invoke-virtual {v3, v4}, Landroid/widget/ViewAnimator;->setDisplayedChild(I)V

    goto/16 :goto_1

    .line 1365
    :pswitch_a
    invoke-direct {p0, v5, p2}, Lcom/glympse/android/glympse/Glympse;->ShowUserView(ILcom/glympse/android/glympse/Glympse$EAnimations;)V

    goto/16 :goto_1

    .line 1312
    nop

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
    .end packed-switch
.end method

.method public StartExit()V
    .locals 2

    .prologue
    .line 674
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.Exit() : "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-boolean v1, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 677
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->clear()V

    .line 679
    iget-boolean v0, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    if-nez v0, :cond_0

    .line 685
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    .line 687
    const-string v0, "Calling finish"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 688
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->finish()V

    .line 690
    :cond_0
    return-void
.end method

.method public StoppingDialog(Landroid/app/Dialog;)V
    .locals 1
    .parameter "oDialog"

    .prologue
    .line 1444
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    .line 1447
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->getFirst()Ljava/lang/Object;

    move-result-object v0

    if-ne v0, p1, :cond_1

    .line 1450
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;

    .line 1451
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_0

    .line 1453
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0}, Ljava/util/LinkedList;->getFirst()Ljava/lang/Object;

    move-result-object p0

    .end local p0
    check-cast p0, Landroid/app/Dialog;

    invoke-virtual {p0}, Landroid/app/Dialog;->show()V

    .line 1464
    :cond_0
    :goto_0
    return-void

    .line 1461
    .restart local p0
    :cond_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_listDialogs:Ljava/util/LinkedList;

    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->remove(Ljava/lang/Object;)Z

    goto :goto_0
.end method

.method public UpdateUserBar(Lcom/glympse/android/glympse/Glympse$EViews;)V
    .locals 1
    .parameter "eView"

    .prologue
    .line 1132
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oAnimatorUserBar:Landroid/widget/ViewAnimator;

    invoke-virtual {v0}, Landroid/widget/ViewAnimator;->getDisplayedChild()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 1142
    :goto_0
    return-void

    .line 1135
    :pswitch_0
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar0:Lcom/glympse/android/glympse/ViewUserBar;

    invoke-virtual {v0, p1}, Lcom/glympse/android/glympse/ViewUserBar;->DoUpdate(Lcom/glympse/android/glympse/Glympse$EViews;)V

    goto :goto_0

    .line 1139
    :pswitch_1
    iget-object v0, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewUserBar1:Lcom/glympse/android/glympse/ViewUserBar;

    invoke-virtual {v0, p1}, Lcom/glympse/android/glympse/ViewUserBar;->DoUpdate(Lcom/glympse/android/glympse/Glympse$EViews;)V

    goto :goto_0

    .line 1132
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method protected finalize()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Throwable;
        }
    .end annotation

    .prologue
    .line 175
    invoke-super {p0}, Ljava/lang/Object;->finalize()V

    .line 177
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.finalize - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 179
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-ne v0, p0, :cond_0

    .line 181
    const/4 v0, 0x0

    sput-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    .line 183
    :cond_0
    return-void
.end method

.method protected isRouteDisplayed()Z
    .locals 1

    .prologue
    .line 401
    const/4 v0, 0x0

    return v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4
    .parameter "nRequest"
    .parameter "nResult"
    .parameter "oIntent"

    .prologue
    .line 616
    packed-switch p1, :pswitch_data_0

    .line 649
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/glympse/android/glympse/Glympse;->GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;

    move-result-object v0

    .line 650
    .local v0, oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    if-eqz v0, :cond_0

    invoke-interface {v0, p1, p2, p3}, Lcom/glympse/android/glympse/Glympse$IGlympseView;->OnActivityResult(IILandroid/content/Intent;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 653
    :cond_0
    invoke-super {p0, p1, p2, p3}, Lcom/google/android/maps/MapActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 655
    .end local v0           #oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    :cond_1
    :goto_0
    return-void

    .line 619
    :pswitch_0
    invoke-direct {p0, p3}, Lcom/glympse/android/glympse/Glympse;->OnImageCaptureComplete(Landroid/content/Intent;)V

    goto :goto_0

    .line 623
    :pswitch_1
    invoke-direct {p0, p3}, Lcom/glympse/android/glympse/Glympse;->OnPickPhotoComplete(Landroid/content/Intent;)V

    goto :goto_0

    .line 634
    :pswitch_2
    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    if-eqz v1, :cond_2

    .line 636
    const-string v1, "Calling Facebook\'s SingleSignInComplete"

    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 637
    sget-object v1, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    invoke-virtual {v1}, Lcom/glympse/android/glympseservice/GlympseService;->GetFacebook()Lcom/glympse/android/glympseservice/FacebookWrapper;

    move-result-object v1

    invoke-virtual {v1, p1, p2, p3}, Lcom/glympse/android/glympseservice/FacebookWrapper;->SingleSignInComplete(IILandroid/content/Intent;)V

    goto :goto_0

    .line 643
    :cond_2
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_listActivityResults:Ljava/util/LinkedList;

    new-instance v2, Lcom/glympse/android/glympse/Glympse$ActivityResult;

    const/4 v3, 0x0

    invoke-direct {v2, p1, p2, p3, v3}, Lcom/glympse/android/glympse/Glympse$ActivityResult;-><init>(IILandroid/content/Intent;Lcom/glympse/android/glympse/Glympse$ActivityResult;)V

    invoke-virtual {v1, v2}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 616
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 0
    .parameter "newConfig"

    .prologue
    .line 660
    invoke-super {p0, p1}, Lcom/google/android/maps/MapActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 661
    invoke-static {}, Lcom/facebook/android/FbDialog;->RotationOccurred()V

    .line 662
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 3
    .parameter "oBundle"

    .prologue
    .line 260
    :try_start_0
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "Glympse.onCreate - this: "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ", ms_oThis: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ", isFinishing: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 263
    invoke-super {p0, p1}, Lcom/google/android/maps/MapActivity;->onCreate(Landroid/os/Bundle;)V

    .line 266
    invoke-static {p0}, Lcom/glympse/android/glympseservice/ErrorReporter;->CaptureDeviceInfo(Landroid/content/Context;)V

    .line 269
    new-instance v1, Lcom/glympse/android/glympse/MapControl;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympse/MapControl;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    .line 277
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/glympse/android/glympse/Glympse;->m_fStartingService:Z

    .line 278
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/glympse/android/glympseservice/GlympseService;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v1}, Lcom/glympse/android/glympse/Glympse;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 284
    :goto_0
    return-void

    .line 280
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 282
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public onDestroy()V
    .locals 2

    .prologue
    .line 352
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onDestroy - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 356
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-ne p0, v0, :cond_0

    .line 358
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->FinishExit()V

    .line 361
    :cond_0
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onDestroy()V

    .line 362
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 4
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v3, 0x1

    .line 370
    :try_start_0
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v2

    invoke-virtual {p0, v2}, Lcom/glympse/android/glympse/Glympse;->GetIView(Lcom/glympse/android/glympse/Glympse$EViews;)Lcom/glympse/android/glympse/Glympse$IGlympseView;

    move-result-object v1

    .line 371
    .local v1, oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    if-eqz v1, :cond_0

    invoke-interface {v1, p1, p2}, Lcom/glympse/android/glympse/Glympse$IGlympseView;->OnKeyDownForward(ILandroid/view/KeyEvent;)Z

    move-result v2

    if-eqz v2, :cond_0

    move v2, v3

    .line 395
    .end local v1           #oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    :goto_0
    return v2

    .line 377
    .restart local v1       #oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    :cond_0
    const/4 v2, 0x4

    if-ne p1, v2, :cond_1

    .line 383
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v2

    if-eqz v2, :cond_1

    move v2, v3

    .line 385
    goto :goto_0

    .line 389
    .end local v1           #oView:Lcom/glympse/android/glympse/Glympse$IGlympseView;
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 391
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 395
    .end local v0           #e:Ljava/lang/Exception;
    :cond_1
    invoke-super {p0, p1, p2}, Lcom/google/android/maps/MapActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v2

    goto :goto_0
.end method

.method public onNewIntent(Landroid/content/Intent;)V
    .locals 1
    .parameter "oIntent"

    .prologue
    .line 945
    const-string v0, "Glympse.onNewIntent"

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 946
    invoke-virtual {p0, p1}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentGlympse(Landroid/content/Intent;)V

    .line 947
    invoke-super {p0, p1}, Lcom/google/android/maps/MapActivity;->onNewIntent(Landroid/content/Intent;)V

    .line 948
    return-void
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 5
    .parameter "item"

    .prologue
    const/4 v4, 0x1

    .line 524
    :try_start_0
    const-string v1, "Glympse::onOptionsItemSelected"

    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 527
    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    packed-switch v1, :pswitch_data_0

    .line 610
    :goto_0
    invoke-super {p0, p1}, Lcom/google/android/maps/MapActivity;->onOptionsItemSelected(Landroid/view/MenuItem;)Z

    move-result v1

    :goto_1
    return v1

    .line 530
    :pswitch_0
    :try_start_1
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideUp:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideDown:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v1, v2, v3}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move v1, v4

    .line 531
    goto :goto_1

    .line 534
    :pswitch_1
    const-class v1, Lcom/glympse/android/glympse/DlgSettings;

    invoke-virtual {v1}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 536
    new-instance v1, Lcom/glympse/android/glympse/DlgSettings;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympse/DlgSettings;-><init>(Landroid/content/Context;)V

    invoke-virtual {p0, v1}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    :cond_0
    move v1, v4

    .line 538
    goto :goto_1

    .line 541
    :pswitch_2
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->History:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideUp:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideDown:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v1, v2, v3}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move v1, v4

    .line 542
    goto :goto_1

    .line 545
    :pswitch_3
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Favorites:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideUp:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideDown:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v1, v2, v3}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move v1, v4

    .line 546
    goto :goto_1

    .line 549
    :pswitch_4
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Debug:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v2, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideUp:Lcom/glympse/android/glympse/Glympse$EAnimations;

    sget-object v3, Lcom/glympse/android/glympse/Glympse$EAnimations;->SlideDown:Lcom/glympse/android/glympse/Glympse$EAnimations;

    invoke-virtual {p0, v1, v2, v3}, Lcom/glympse/android/glympse/Glympse;->PushView(Lcom/glympse/android/glympse/Glympse$EViews;Lcom/glympse/android/glympse/Glympse$EAnimations;Lcom/glympse/android/glympse/Glympse$EAnimations;)Lcom/glympse/android/glympse/Glympse$EViews;

    move v1, v4

    .line 550
    goto :goto_1

    .line 553
    :pswitch_5
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/ViewSendGlympse;->Save()V

    move v1, v4

    .line 554
    goto :goto_1

    .line 557
    :pswitch_6
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/ViewFavorites;->ToggleExpand()V

    move v1, v4

    .line 558
    goto :goto_1

    .line 561
    :pswitch_7
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v1

    iget-object v1, v1, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v1, v1, Lcom/glympse/platform/common/UserList;->m_oActiveUser:Lcom/glympse/platform/common/User;

    if-eqz v1, :cond_1

    const-class v1, Lcom/glympse/android/glympse/DlgActions;

    invoke-virtual {v1}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 563
    new-instance v1, Lcom/glympse/android/glympse/DlgActions;

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v2

    iget-object v2, v2, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v2, v2, Lcom/glympse/platform/common/UserList;->m_oActiveUser:Lcom/glympse/platform/common/User;

    invoke-direct {v1, p0, v2}, Lcom/glympse/android/glympse/DlgActions;-><init>(Landroid/content/Context;Lcom/glympse/platform/common/User;)V

    invoke-virtual {v1}, Lcom/glympse/android/glympse/DlgActions;->show()V

    :cond_1
    move v1, v4

    .line 565
    goto :goto_1

    .line 568
    :pswitch_8
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/glympse/android/glympse/MapControl;->SetSatellite(Z)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 570
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    :cond_2
    move v1, v4

    .line 572
    goto/16 :goto_1

    .line 575
    :pswitch_9
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/glympse/android/glympse/MapControl;->SetSatellite(Z)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 577
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    :cond_3
    move v1, v4

    .line 579
    goto/16 :goto_1

    .line 582
    :pswitch_a
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/MapControl;->ToggleSatellite()V

    .line 583
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    move v1, v4

    .line 584
    goto/16 :goto_1

    .line 587
    :pswitch_b
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/MapControl;->ToggleTraffic()V

    .line 588
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    move v1, v4

    .line 589
    goto/16 :goto_1

    .line 592
    :pswitch_c
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;

    move v1, v4

    .line 593
    goto/16 :goto_1

    .line 597
    :pswitch_d
    sget-object v1, Lcom/glympse/android/glympse/Glympse$EViews;->Debug:Lcom/glympse/android/glympse/Glympse$EViews;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v2

    if-ne v1, v2, :cond_4

    .line 599
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->PopView()Lcom/glympse/android/glympse/Glympse$EViews;

    .line 601
    :cond_4
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->StartExit()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move v1, v4

    .line 602
    goto/16 :goto_1

    .line 605
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 607
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto/16 :goto_0

    .line 527
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_0
        :pswitch_3
        :pswitch_1
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_5
        :pswitch_6
        :pswitch_4
        :pswitch_c
        :pswitch_d
    .end packed-switch
.end method

.method protected onPause()V
    .locals 2

    .prologue
    .line 324
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onPause - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 328
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-ne p0, v0, :cond_0

    .line 330
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->SetActive(Z)V

    .line 333
    iget-boolean v0, p0, Lcom/glympse/android/glympse/Glympse;->m_fExit:Z

    if-eqz v0, :cond_0

    .line 335
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->FinishExit()V

    .line 339
    :cond_0
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onPause()V

    .line 340
    return-void
.end method

.method public onPrepareOptionsMenu(Landroid/view/Menu;)Z
    .locals 9
    .parameter "menu"

    .prologue
    const/4 v6, 0x1

    .line 407
    const/4 v2, 0x1

    .line 412
    .local v2, fResult:Z
    :try_start_0
    invoke-interface {p1}, Landroid/view/Menu;->clear()V

    .line 414
    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v1

    .line 417
    .local v1, eView:Lcom/glympse/android/glympse/Glympse$EViews;
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Eula:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_0

    move v5, v6

    .line 516
    .end local v1           #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    :goto_0
    return v5

    .line 423
    .restart local v1       #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    :cond_0
    invoke-super {p0, p1}, Lcom/google/android/maps/MapActivity;->onPrepareOptionsMenu(Landroid/view/Menu;)Z

    move-result v2

    .line 425
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    .line 428
    .local v3, listMenuItemsForActionList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/MenuItem;>;"
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Splash:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_4

    .line 430
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v5

    iget-object v5, v5, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-boolean v5, v5, Lcom/glympse/platform/Config;->m_fDebug:Z

    if-eqz v5, :cond_1

    .line 432
    const/4 v5, 0x0

    const/16 v6, 0xc

    const/4 v7, 0x0

    const v8, 0x7f0a001a

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f02006e

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 434
    :cond_1
    const/4 v5, 0x0

    const/16 v6, 0xe

    const/4 v7, 0x0

    const v8, 0x7f0a001c

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f02006f

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 480
    :cond_2
    :goto_1
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_6

    .line 482
    iget-object v5, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewSendGlympse:Lcom/glympse/android/glympse/ViewSendGlympse;

    invoke-virtual {v5}, Lcom/glympse/android/glympse/ViewSendGlympse;->CanSave()Z

    move-result v5

    if-eqz v5, :cond_3

    .line 484
    const/4 v5, 0x0

    const/16 v6, 0xa

    const/4 v7, 0x0

    const v8, 0x7f0a0017

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020075

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 506
    :cond_3
    :goto_2
    invoke-virtual {v3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_3
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-nez v6, :cond_b

    .end local v1           #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .end local v3           #listMenuItemsForActionList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/MenuItem;>;"
    :goto_4
    move v5, v2

    .line 516
    goto :goto_0

    .line 438
    .restart local v1       #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .restart local v3       #listMenuItemsForActionList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/MenuItem;>;"
    :cond_4
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Map:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_2

    .line 441
    invoke-static {p0}, Lcom/glympse/platform/Reflection$_Activity;->IsActionBarVisible(Landroid/app/Activity;)Z

    move-result v5

    if-nez v5, :cond_5

    .line 444
    const/4 v5, 0x0

    const/4 v6, 0x1

    const/4 v7, 0x0

    const v8, 0x7f0a0010

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020072

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 445
    const/4 v5, 0x0

    const/4 v6, 0x2

    const/4 v7, 0x0

    const v8, 0x7f0a00ae

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020076

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 446
    const/4 v5, 0x0

    const/4 v6, 0x3

    const/4 v7, 0x0

    const v8, 0x7f0a0011

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020071

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 449
    const/4 v5, 0x0

    const/4 v6, 0x4

    const/4 v7, 0x0

    const v8, 0x7f0a000e

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020077

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 450
    const/4 v5, 0x0

    const/16 v6, 0xe

    const/4 v7, 0x0

    const v8, 0x7f0a001c

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f02006f

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    .line 453
    const/4 v5, 0x0

    const/4 v6, 0x5

    const/4 v7, 0x0

    const v8, 0x7f0a0012

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    .line 454
    const/4 v5, 0x0

    const/16 v6, 0x8

    const/4 v7, 0x0

    const v8, 0x7f0a0015

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const/4 v6, 0x1

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v5

    iget-object v6, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v6}, Lcom/glympse/android/glympse/MapControl;->isSatellite()Z

    move-result v6

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    .line 455
    const/4 v5, 0x0

    const/16 v6, 0x9

    const/4 v7, 0x0

    const v8, 0x7f0a0016

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const/4 v6, 0x1

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v5

    iget-object v6, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v6}, Lcom/glympse/android/glympse/MapControl;->isTraffic()Z

    move-result v6

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    .line 474
    :goto_5
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v5

    iget-object v5, v5, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-boolean v5, v5, Lcom/glympse/platform/Config;->m_fDebug:Z

    if-eqz v5, :cond_2

    .line 476
    const/4 v5, 0x0

    const/16 v6, 0xc

    const/4 v7, 0x0

    const v8, 0x7f0a001a

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_1

    .line 511
    .end local v1           #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .end local v3           #listMenuItemsForActionList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/MenuItem;>;"
    :catch_0
    move-exception v5

    move-object v0, v5

    .line 513
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto/16 :goto_4

    .line 462
    .end local v0           #e:Ljava/lang/Exception;
    .restart local v1       #eView:Lcom/glympse/android/glympse/Glympse$EViews;
    .restart local v3       #listMenuItemsForActionList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Landroid/view/MenuItem;>;"
    :cond_5
    const/4 v5, 0x0

    const/4 v6, 0x2

    const/4 v7, 0x0

    const v8, 0x7f0a000f

    :try_start_1
    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020076

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 463
    const/4 v5, 0x0

    const/4 v6, 0x1

    const/4 v7, 0x0

    const v8, 0x7f0a0010

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020072

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 464
    const/4 v5, 0x0

    const/4 v6, 0x3

    const/4 v7, 0x0

    const v8, 0x7f0a0011

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020071

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 467
    const/4 v5, 0x0

    const/4 v6, 0x4

    const/4 v7, 0x0

    const v8, 0x7f0a000e

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    .line 468
    const/4 v5, 0x0

    const/4 v6, 0x5

    const/4 v7, 0x0

    const v8, 0x7f0a0012

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    .line 469
    const/4 v5, 0x0

    const/16 v6, 0x8

    const/4 v7, 0x0

    const v8, 0x7f0a0015

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const/4 v6, 0x1

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v5

    iget-object v6, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v6}, Lcom/glympse/android/glympse/MapControl;->isSatellite()Z

    move-result v6

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    .line 470
    const/4 v5, 0x0

    const/16 v6, 0x9

    const/4 v7, 0x0

    const v8, 0x7f0a0016

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const/4 v6, 0x1

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setCheckable(Z)Landroid/view/MenuItem;

    move-result-object v5

    iget-object v6, p0, Lcom/glympse/android/glympse/Glympse;->m_oMapControl:Lcom/glympse/android/glympse/MapControl;

    invoke-virtual {v6}, Lcom/glympse/android/glympse/MapControl;->isTraffic()Z

    move-result v6

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setChecked(Z)Landroid/view/MenuItem;

    .line 471
    const/4 v5, 0x0

    const/16 v6, 0xe

    const/4 v7, 0x0

    const v8, 0x7f0a001c

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    goto/16 :goto_5

    .line 488
    :cond_6
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Favorites:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_9

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v5

    iget-object v5, v5, Lcom/glympse/platform/Platform;->m_oFavoriteList:Lcom/glympse/platform/common/FavoriteList;

    iget-object v5, v5, Lcom/glympse/platform/common/FavoriteList;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    invoke-virtual {v5}, Lcom/glympse/platform/GVector$Tickets;->isEmpty()Z

    move-result v5

    if-nez v5, :cond_9

    .line 490
    const/4 v5, 0x0

    const/16 v6, 0xb

    const/4 v7, 0x0

    .line 491
    iget-object v8, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    iget-boolean v8, v8, Lcom/glympse/android/glympse/ViewFavorites;->m_fExpanded:Z

    if-eqz v8, :cond_7

    const v8, 0x7f0a0019

    .line 490
    :goto_6
    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    .line 492
    iget-object v6, p0, Lcom/glympse/android/glympse/Glympse;->m_oViewFavorites:Lcom/glympse/android/glympse/ViewFavorites;

    iget-boolean v6, v6, Lcom/glympse/android/glympse/ViewFavorites;->m_fExpanded:Z

    if-eqz v6, :cond_8

    const v6, 0x7f02006d

    .line 491
    :goto_7
    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    .line 490
    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_2

    .line 491
    :cond_7
    const v8, 0x7f0a0018

    goto :goto_6

    .line 492
    :cond_8
    const v6, 0x7f020070

    goto :goto_7

    .line 495
    :cond_9
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Destination:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_a

    .line 497
    const/4 v5, 0x0

    const/4 v6, 0x6

    const/4 v7, 0x0

    const v8, 0x7f0a0013

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020073

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 498
    const/4 v5, 0x0

    const/4 v6, 0x7

    const/4 v7, 0x0

    const v8, 0x7f0a0014

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f020074

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_2

    .line 501
    :cond_a
    sget-object v5, Lcom/glympse/android/glympse/Glympse$EViews;->Debug:Lcom/glympse/android/glympse/Glympse$EViews;

    if-ne v5, v1, :cond_3

    .line 503
    const/4 v5, 0x0

    const/16 v6, 0xe

    const/4 v7, 0x0

    const v8, 0x7f0a001c

    invoke-interface {p1, v5, v6, v7, v8}, Landroid/view/Menu;->add(IIII)Landroid/view/MenuItem;

    move-result-object v5

    const v6, 0x7f02006f

    invoke-interface {v5, v6}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_2

    .line 506
    :cond_b
    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/view/MenuItem;

    .line 508
    .local v4, oMenuItem:Landroid/view/MenuItem;
    invoke-static {}, Lcom/glympse/platform/Reflection$_MenuItem;->SHOW_AS_ACTION_IF_ROOM()I

    move-result v6

    invoke-static {}, Lcom/glympse/platform/Reflection$_MenuItem;->SHOW_AS_ACTION_WITH_TEXT()I

    move-result v7

    or-int/2addr v6, v7

    invoke-static {v4, v6}, Lcom/glympse/platform/Reflection$_MenuItem;->setShowAsAction(Landroid/view/MenuItem;I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_3
.end method

.method protected onRestart()V
    .locals 2

    .prologue
    .line 296
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onRestart - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 297
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onRestart()V

    .line 298
    return-void
.end method

.method protected onResume()V
    .locals 2

    .prologue
    .line 303
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onResume - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 304
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onResume()V

    .line 306
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->SetActive(Z)V

    .line 315
    iget-boolean v0, p0, Lcom/glympse/android/glympse/Glympse;->m_fStartingService:Z

    if-nez v0, :cond_0

    .line 317
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse;->CheckForIntentGlympse(Landroid/content/Intent;)V

    .line 319
    :cond_0
    return-void
.end method

.method protected onStart()V
    .locals 2

    .prologue
    .line 289
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onStart - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 290
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onStart()V

    .line 291
    return-void
.end method

.method protected onStop()V
    .locals 2

    .prologue
    .line 345
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "Glympse.onStop - this: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", ms_oThis: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", isFinishing: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/glympse/android/glympse/Glympse;->isFinishing()Z

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 346
    invoke-super {p0}, Lcom/google/android/maps/MapActivity;->onStop()V

    .line 347
    return-void
.end method
